PDA

View Full Version : which is good Cocoa wrapper for Socket programming ?




namanhams
Aug 12, 2010, 10:06 PM
I google and found these 2 :

- SmallSockets : http://smallsockets.sourceforge.net/
- AsyncSocket : http://code.google.com/p/cocoaasyncsocket/

Have anyone experienced with these 2 or any else ? I have to do some socket programming, and i prefer to work with some Cocoa wrapper, as it looks more natural to me, but i have not much time to experiment on each library.

Any idea is much appreciated. Thanks.



chown33
Aug 13, 2010, 02:07 AM
CocoaAsyncSocket worked well for me. I used both the TCP and UDP sockets, both listener and sender. Bandwidth, latency, and ease of use were all quite good.

Does that mean it will work for you? Can't tell. Since you haven't said anything about what you intend to do, nor your network programming experience, only you can decide.