|
Boost Users : |
Subject: Re: [Boost-users] boost asio: Probelm with closing a blocking ip::udp::socket receive
From: Lennyk (lennyk430_at_[hidden])
Date: 2009-03-12 10:23:41
OK, thanks, but how am I supposed to close a thread which has a blocking
receive in it?
Igor R wrote:
>> After shutdown I ALWAYS get system:107 error code - which means "Transport
>> endpoint is not connected".
>>
>> Does anybody have any idea why I'm receiving such an error?
>> Needless to say, the receive is working great - and I get the packets from
>> the port I'm listening to.
>>
>
>
> I don't know why you get this error, but socket object is not
> threadsafe, so you shouldn't access it from different threads without
> synchronization.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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