Re: Socket Callbacks
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.