I'm using gcc for compiling and linking Objective-C programs, and I'm wondering if there is socket library that is unified, portable, and/or cross-platform (like Python's socket module).
+1
A:
You’ve only specified gcc and Objectve-C. Of course there are no sockets in both of them. What is your platform? What are common libraries or frameworks?
There are BSD sockets on Mac OS which are similar in nearly all Unicees.
Nikolai Ruhe
2009-11-25 16:33:27
I'm aware that they aren't built-ins. As I asked, I am wondering if there is "unified, portable, and/or cross-platform" library.
mtasic
2009-11-25 19:45:45
Cross platform? On mac you use gcc/objective-c so I assume you write code using cocoa frameworks ... on what other platform (apart from cocoa-touch) would you like to compile your objective-c/cocoa code with gcc?
stefanB
2009-11-25 23:27:08
+1
A:
Also read the documentation on NSSocketPort. You can take a look at the examples here.
Felixyz
2009-11-26 00:24:22