|
Boost Users : |
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2007-01-04 12:23:35
On 1/3/07, Stefan Kok <stefan_at_[hidden]> 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
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