Re: CFSockets, sockets and timeouts
Re: CFSockets, sockets and timeouts
- Subject: Re: CFSockets, sockets and timeouts
- From: Douglas Davidson <email@hidden>
- Date: Mon, 12 Apr 2004 09:49:17 -0700
On Apr 11, 2004, at 1:53 PM, Nicolas Berloquin wrote:
I tried CFSocketSendData, then send() with message options like
MSG_DONTWAIT but I still got
blocked until data was sent (to be more precise when the tcp send
buffer was full, I guess).
CFSocket does have a write callback, which will notify you when the
socket selects as writable. Alternatively, you can use something
higher-level like CFStream, which might be more convenient.
Douglas Davidson
_______________________________________________
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.