Subject: Re: [Boost-users] Echo server demo
From: Igor R (boost.lists_at_[hidden])
Date: 2009-12-21 18:30:21


> to echo text back to a client but i haven't been successful. It seems to hang at
>
>  size_t length = sock->read_some(boost::asio::buffer(data), error);

read_some() is a blocking read operation. Ensure you send something
from the other side.