I am going to be porting the 39dll libraries to Linux. This lib has been ported to Mac and IOS already and i was wondering if the sys/socket.h stuff needs to be re-written. You can find the libs in question HERE and HERE
Does anyone know? Ive done some google searching and looked at sever of the “suggested” articles to no avail. Some article suggested that it “might” work, but i need a more definitive answer.
Are you asking if the content of Mac OS X’s
<sys/socket.h>is identical to Linux’s version? No, Mac OS X’s header is based on the BSD’s.> man socket
If you’re asking if there’s source code compatibility between the two platforms, then yes, as long as the source code sticks to portable interfaces.
If you’re thinking of some other reason that the sockets stuff might need to be rewritten, I guess that depends on whether or not your current code meets your requirements when built for OS X.