|
Boost : |
From: christopher baus (christopher_at_[hidden])
Date: 2005-12-11 15:16:45
> I wanted to do the following
>
> void connect_handler(const boost::asio::error& error)
> {
> //
> //
>
> if (!error)
> {
> // Connect succeeded.
> // How do I get the connected socket here?
> // I want to call async_read_some like:
> // s->async_read_some(...);
> }
> }
To answer my own question, I see that bind used idiomatically in the
examples to solve this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk