Simultaneous read() and write() on same TCP/IP socket
Simultaneous read() and write() on same TCP/IP socket
- Subject: Simultaneous read() and write() on same TCP/IP socket
- From: Jonathon Kuo <email@hidden>
- Date: Mon, 13 Dec 2010 18:37:50 -0800
I'm writing a multithreaded message store-and-forward app using Cocoa and TCP/IP sockets. One quick question: If I have a read() and a write() posted on the same socket from different background threads, is this going to work as I expect it to, basically that the one socket is full-duplex, so I won't be reading what I've written to the socket?
_______________________________________________
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