On Oct 13, 2013, at 3:18 PM, Todd Heberlein wrote:
> On one hand there is the NSStream option (e.g., NSInputStream). It looks a
> moderately awkward setting up an initial connection (not as nice as
> NSURLConnection), and then it seems I schedule it on a run loop (probably the
> main run loop
Check the CGDAsyncSocket project.
--
:: marcelo.alves
> On 13/10/2013, at 19:18, Todd Heberlein wrote:
>
> I’m building a new Cocoa client app that will asynchronously receive data
> over a TCP connection from a server. I was reviewing my options, and I am a
> little uncertain.
>
> On one
I’m building a new Cocoa client app that will asynchronously receive data over
a TCP connection from a server. I was reviewing my options, and I am a little
uncertain.
On one hand there is the NSStream option (e.g., NSInputStream). It looks a
moderately awkward setting up an initial connection