
Hello. I tried using the code provided here: http://www.boost.org/doc/libs/1_41_0/doc/html/boost_asio/example/echo/blocki... 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); what is wrong? Thanks

Hi.
Thanks for your response. I am sending packets to it but it doesn't respond. When I use a tool to view connections, I see that my client successfully connects to the server.
--- On Mon, 12/21/09, Igor R
From: Igor R
Subject: Re: [Boost-users] Echo server demo To: boost-users@lists.boost.org Date: Monday, December 21, 2009, 6:30 PM 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. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Igor R
-
Michael Fowler