Boost logo

Boost Users :

From: John Urberg (john-urberg_at_[hidden])
Date: 2008-08-11 10:57:40


Igor R <boost.lists <at> gmail.com> writes:
>
> error 10009 probably means that the handle of your socket is invalid.
> Maybe, the socket object is destroyed? Put a breakpoint at
> MulticastServer destructor and look when you come there and why...

That was it. Changed it from a local variable on the stack in the thread
function to an instance variable on the class and it started working. Odd
that it would get destructed when the thread function was blocking on
io_service.run().

Thanks for the help.


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