Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost::Asio No write handler called after async_write
From: David Narvaez (david.e.narvaez_at_[hidden])
Date: 2009-04-14 07:57:24


Thanks for the answer, but all examples I see in the documentation using
io_service:::run() are using an async-read/async-write model. How would
io_service::run() fit in my sync-read/async-write model? Or is it impossible
to do async-write if using async-read?

On Tue, Apr 14, 2009 at 3:51 AM, Igor R <boost.lists_at_[hidden]> wrote:

> > Hi everyone, this (I think) is about boost::asio. Could somebody please
> tell
> > me why in the following code my handle_write function is never called
> after
> > the async_write?
>
> You never call io_service::run(), that's why no handler is invoked.
> _______________________________________________
> 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