Thanks a lot, it works now. I shall file a bug.
 
Thank you,
  Lloyd
----- Original Message -----
From: ecyrbe
To: boost-users@lists.boost.org
Sent: Sunday, July 11, 2010 9:32 AM
Subject: Re: [Boost-users] boost::asio::error::eof

On windows you can get the system_error and not the asio misc_error, it's named boost::system::windows_error::handle_eof .
you can file a bug against boost asio to transform this error code to boost::asio::error::eof.
In fact, when you look at the code at :  "boost/asio/detail/impl/win_iocp_handle_service.ipp"
the sync version is ok (it transforms handle_eof to boost::asio::eof) but the async one does not...



______________________________________
Scanned and protected by Email scanner