Hi,
 
I have a server application. It listens for connection and receives data. when data is received, the receive "handler routine" is called. Inside the handler there is async timer. This timer's handler again initiates a new timer.This keeps on executing. During this time, the remote client which connects to the server closes the connection "intentionally". Inside the timer handler routine, is there any way to chek the connection is closed or not? (From the timer handler, I can access the socket and io_service).
 
I have tried with
 
socket::is_open(), socket::remote_endpoint(), they are successfull and does not throw any exception.
 
Thanks a lot,
  Lloyd 


______________________________________
Scanned and protected by Email scanner