21 Apr
2006
21 Apr
'06
3:09 p.m.
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