i'm using a synch server and client that reads in an infinite loop.
for (;;){
boost::system::error_code error;
read(socket,boost::asio::buffer(&abc, sizeof(abc)));
...
}
what would be the best way to resolve the blocking of the rest of the program since i would like to use snych not asynch. (thread?)
thx in advance..