1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

which is good Cocoa wrapper for Socket programming ?

Discussion in 'iPhone/iPad Programming' started by namanhams, Aug 12, 2010.

  1. macrumors regular

    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.
  2. macrumors 603

    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.

Share This Page