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: Jonathon Kuo <email@hidden>
- Date: Wed, 15 Dec 2010 16:43:12 -0800
On Dec 14, 2010, at 1:10 AM, Quinn The Eskimo! wrote:
> If you're still working on the socket-to-socket bridging code, I recommend you look at non-blocking sockets with GCD. That's how I'd tackle this problem on modern Apple OSes.
Is there a certain paradigm you had in mind with respect to using non-blocking sockets with GCD? I realize I can use select() with FD's set to O_NONBLOCK. Would GCD be used for the actual send() and recv() call processing?
_______________________________________________
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