Boost logo

Boost Users :

Subject: [Boost-users] Asio::Async_read_some - bytes_transferred=0!
From: Lloyd (lloyd_at_[hidden])
Date: 2010-06-25 06:11:59


Hi,

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?
Thanks,

  Lloyd

 

______________________________________
Scanned and protected by Email scanner



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net