which is good Cocoa wrapper for Socket programming ?

Discussion in 'iOS Programming' started by namanhams, Aug 12, 2010.

  1. namanhams macrumors regular

    Jun 3, 2009
    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. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    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