
10 Mar
2011
10 Mar
'11
2:58 p.m.
What is "already open" ? _client ? It has just been allocated before calling async_accept. _io is properly initialized.
If this error is about acceptor, how can I use it with async_accept ? I've seen http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/reference/basic_soc... but i don't see any line where the listen port is set to acceptor.
Like Viatcheslav mentioned, set reuse_address option: http://think-async.com/Asio/boost_asio_1_5_2/doc/html/boost_asio/reference/s...