Re: Using CFSocket to connect
Re: Using CFSocket to connect
- Subject: Re: Using CFSocket to connect
- From: Mike Laster <email@hidden>
- Date: Fri, 05 Jul 2002 13:12:11 -0400
On 7/5/02 11:40 AM, "Mike Laster" <email@hidden> wrote:
>
Still having problems. I can get blocking connects to work, but
>
non-blocking connects never seem to trigger the callback (though they
>
actually DO connect according to my server).
I figured this one out. The method was originally written to use blocking
connects, and I converted to using non-blocking connects. What I forgot was
to make a run loop source for the socket and add it to the run loop before
calling connect (doh!).
Seems to function properly now.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.