Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] async_accept : Error m_val 1.
From: Igor R (boost.lists_at_[hidden])
Date: 2011-03-09 18:42:24


> m_val = 1;
> m_cat = 0x00ab8d00 instance;
>  | [boost::asio::error::detail::misc_category] = {...}
>  | boost::noncopyable_::noncopyable = {...}
>  | __vfptr = 0x00a8bf18 const boost::asio::error::detail::misc_category::`vftable'

Use message() member function of error_code to see the error description.
IIUC, in your case it should be "Already open", i.e. you're trying to
accept new connection to a socket which was already open.


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