• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using CFSocket to connect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Using CFSocket to connect (From: Mike Laster <email@hidden>)

  • Prev by Date: Re: CFSocketRegisterSocketSignature question
  • Next by Date: Re: Run loops
  • Previous by thread: Re: Using CFSocket to connect
  • Next by thread: Configuring the serial port
  • Index(es):
    • Date
    • Thread