a question about asynchronous I/O
I'm trying to start network programming with boost::asio library, and I come across a question: if I have issued multiple async_read to the same one socket, will the OS execute these IO command out of order? My platform is WinXPSP2+VC2003. lihuiba 2006-04-21
On 4/21/06, 李慧霸
I'm trying to start network programming with boost::asio library, and I come across a question: if I have issued multiple async_read to the same one socket, will the OS execute these IO command out of order?
My platform is WinXPSP2+VC2003.
You should probably look in the Windows documentation. But, IIRC, for windows it is the case, but not for linux which I think arent thread-safe for simultaneous reads or writes.
lihuiba 2006-04-21
best regards, -- Felipe Magno de Almeida
participants (2)
-
Felipe Magno de Almeida
-
李慧霸