• 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: Socket Callbacks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket Callbacks


  • Subject: Re: Socket Callbacks
  • From: Brian Victor <email@hidden>
  • Date: Thu, 13 Feb 2003 12:45:49 -0500

Once again bitten by the wrong reply address. Sorry Douglas.

On Thu, Feb 13, 2003 at 09:29:43AM -0800, Douglas Davidson wrote:
>If you restrict yourself to kCFSocketReadCallBack,
>kCFSocketConnectCallBack, and kCFSocketWriteCallBack, and do not call
>any of the other CFSocket functions, then the only thing CFSocket will
>do to your socket is select() on it (well, possibly also getsockopt()).
> Is that what you are after?

That's exactly what I'm after. Thank you.

You say not to call any other CFSocket functions, but I still need to
create a source with the socket and add it to the run loop, don't I?
Or is it sufficient to just do CFSocketCreateWithNative? (I'm clearly a
CF newbie.)

--
Brian
_______________________________________________
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: 
 >Socket Callbacks (From: Brian Victor <email@hidden>)

  • Prev by Date: Re: Canceling a asynchronous request ???
  • Next by Date: Re: Multi-link PPP
  • Previous by thread: Re: Socket Callbacks
  • Next by thread: Canceling a asynchronous request ???
  • Index(es):
    • Date
    • Thread