25 Jun
2013
25 Jun
'13
1:42 p.m.
On 06/25/2013 02:51 PM, Renato Forti wrote:
void check_deadline()
The timer handle must take a boost::system::error_code as argument, and you should check this for operation_aborted.
The problem is that now the timeout expires even if the connection to the server occurs. What is wrong?
You do not call deadline_.cancel() in handle_connect().