$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.