|
Boost Users : |
Subject: Re: [Boost-users] Echo server demo
From: Michael Fowler (mdkfspam2000_at_[hidden])
Date: 2009-12-21 20:10:51
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 <boost.lists_at_[hidden]> wrote:
> From: Igor R <boost.lists_at_[hidden]>
> Subject: Re: [Boost-users] Echo server demo
> To: boost-users_at_[hidden]
> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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