2011/3/11 Marco Piacentini <marcopiacenta@yahoo.it>
Hi...do you know what it means the parameters "_1" and "_2"?

socket_.async_read_some(boost::asio::buffer(data_),boost::bind(&server::handle_read, this, _1, _2));

They're just Bind's placeholders for 1st and 2nd parameters respectively, same as Asio's placeholders::error and placeholders::bytes_transferred in this case.


HTH