
25 Jun
2010
25 Jun
'10
12:49 p.m.
I am using async_read_some() to read data from a tcp connection. In the "async_read_some" handler, sometimes the "bytes_transferred" is zero, and also sometimes causes an error in the read handler called "The I/O operation has been aborted because of either a thread exit or an application request"
What could be the reason? Is this an expected behavior?
This error usually means that you called socket.close()