
25 Mar
2009
25 Mar
'09
2:07 p.m.
I'm already using blocking sockets as suggest in above document.
According to that document, you should not enocounter this problem when using blocking sockets. Probably your socket is not blocking? To make a socket blocking you should write something like this: boost::asio::socket_base::non_blocking_io command(true); socket.io_control(command);