Boost logo

Boost Users :

Subject: Re: [Boost-users] boost asio async_read_some
From: Igor R (boost.lists_at_[hidden])
Date: 2008-12-08 04:19:29


>
> The client thread works until the call to async_read_some(). The call
> returns, but I never hit the breakpoint I
> set in my handler, nor do I see any output from the handler.

I can't see where you call io_service::run(). If your socket's io_service is
not running, noone would process your async. calls.
Please, refer to the asio examples/tutorial to find out how to organize an
asyncronous i/o.



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