[Live-devel] windows winsock error 10038

谢永达 xieyongda at gmail.com
Wed Jun 19 09:43:33 PDT 2013


Hmmm, I found that the class "TCPSocketDescribe" in RTPInterface.cpp had
been double free sometimes, when it happen, the app crash.


2013/6/18 Andrey <ashvyrkin at gosniias.ru>

> Thanks for the quick reply. However, the error occurs even if the test
> code testOnDemandRTSPServer reuseFirstSource set to True. I have not
> changed anything in the code, except the reuseFirstSource. The error occurs
> on the socket fClientInputSocket of RTSPServer.cpp. Closing the socket
> occurs after the call closeSockets () in the destructor ~
> RTSPClientConnection (), respectively, which is called when the session
> with the client. The functions of the closeSockets () before closing the
> socket is called disableBackgroundHandling (fClientInputSocket). The idea
> is all right, and select () function should not be to access a closed
> socket. However, after repeated reconnect the client to the server in the
> select () function generates an error. The problem arises only when the
> true meaning of reuseFirstSource and multiple client reconnects to the
> server. Perhaps the problem is disableBackgroundHandling, in any case, the
> error is random and can occur as a reconnection with the client, and more
> than a hundred.
> ______________________________**_________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/**mailman/listinfo/live-devel<http://lists.live555.com/mailman/listinfo/live-devel>
>



-- 
by:谢永达
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130620/b864264d/attachment.html>


More information about the live-devel mailing list