mtasic85
mtasic85

Reputation: 4063

sockets in objective-c

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

Answers (3)

Nikolai Ruhe
Nikolai Ruhe

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

gabriel
gabriel

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

Felixyz
Felixyz

Reputation: 19143

code.google.com/p/btlsocket/

Also read the documentation on NSSocketPort. You can take a look at the examples here.

Upvotes: 1

Related Questions