From: Maximilian Szengel (boost-users_at_[hidden])
Date: 2007-01-03 13:09:51


Hi list,

I am having problems using asio. When I create a server (or take one
of the examples from the website), start it and connect to it via
telnet, then close the server (by closing all sockets, so
io_service::run returns) and then want to restart the server again, I
always get: "Address already in use." asio::error exception. I tried
setting asio::ip::tcp::acceptor::reuse_address(true), but that didn't
change anything. Any help/hint would be appreciated.

Greetings,

Max