Re: Simultaneous read() and write() on same TCP/IP socket
Re: Simultaneous read() and write() on same TCP/IP socket
- Subject: Re: Simultaneous read() and write() on same TCP/IP socket
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 16 Dec 2010 09:57:30 +0000
On 16 Dec 2010, at 00:43, Jonathon Kuo wrote:
> Is there a certain paradigm you had in mind with respect to using non-blocking sockets with GCD?
You need to research GCD "sources", which are basically a replacement for select(). For example, you can set up a source so that it runs a block on a queue every time a descriptor becomes readable.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden