Hello.
 I tried using the code provided here:
http://www.boost.org/doc/libs/1_41_0/doc/html/boost_asio/example/echo/blocking_tcp_echo_server.cpp
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