# Porting linux socket application code to OAT

**URL:** <https://forum.sierrawireless.com/t/porting-linux-socket-application-code-to-oat/5976>\
**Category:** Open AT\
**Created:** [November 27, 2012, 11:32am UTC](https://forum.sierrawireless.com/t/porting-linux-socket-application-code-to-oat/5976 "2012-11-27T11:32:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwardofleek](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@edwardofleek](https://forum.sierrawireless.com/u/edwardofleek)\
**Post date:** [November 27, 2012, 11:32am UTC](https://forum.sierrawireless.com/t/porting-linux-socket-application-code-to-oat/5976/1 "2012-11-27T11:32:33Z")

</div>

Hi

Has anyone tried porting Linux socket application code to OAT?

Has anyone written abstraction code to help with this?

Thanks in advance

Edward

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [November 30, 2012, 5:56am UTC](https://forum.sierrawireless.com/t/porting-linux-socket-application-code-to-oat/5976/2 "2012-11-30T05:56:56Z")

</div>

Hi,

What is meant bu Linux socket application codes?  
There are already sample codes for TCP server socket,UDP sever socket availbale with Internet libraries.

Thanks.

---

<div class="post-metadata">

**Author:** ![edwardofleek](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@edwardofleek](https://forum.sierrawireless.com/u/edwardofleek)\
**Post date:** [December 5, 2012, 9:12pm UTC](https://forum.sierrawireless.com/t/porting-linux-socket-application-code-to-oat/5976/3 "2012-12-05T21:12:26Z")

</div>

I meant has anyone written a code layer (OAT) which sits on top of WIP to enable it to look like the linux socket api

It maybe impossible -

But I have some code written which works on Linux and uses socket.h - to save time I would I like to use the same code on OAT / WIP

Thanks

Ted
