Reputation: 4063
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).
Upvotes: 0
Views: 4994
Reputation: 81856
You’ve only specified gcc and Objective-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.
Upvotes: 1
Reputation: 11
The BSD sockets are unified across most platforms, but if you want a Objective-C library which is easy to use, I found:
http://sourceforge.net/projects/smallsockets/
Upvotes: 1
Reputation: 19143
Also read the documentation on NSSocketPort. You can take a look at the examples here.
Upvotes: 1