Re: [boost] asio async_connect handler socket

11 Dec
2005
11 Dec
'05
8:16 p.m.
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.
7124
Age (days ago)
7124
Last active (days ago)
0 comments
1 participants
participants (1)
-
christopher baus