On 1/3/07, Stefan Kok <stefan@opensolutions.co.za> wrote:
This is not a C++ answer but check if there is an instance of your
program running an kill it. Sounds like the program is still running and
it then occupies the port. So next time you run your program the port is
already in use.

Actually,  the socket needs to have the SO_REUSE_ADDR option set.  I'm not sure how to do this properly w/ ASIO, so I'll defer to someone else.

Jon