Boost logo

Boost Users :

Subject: [Boost-users] [asio] Echo server demo
From: Michael Fowler (mdkfspam2000_at_[hidden])
Date: 2009-12-28 21:02:55


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); when the client sends a message. What is wrong? Thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net