[Live-devel] windows winsock error 10038

Ross Finlayson finlayson at live555.com
Thu Jun 27 08:35:46 PDT 2013


Andrey,

Thanks for looking into this.

Your debugging output log seems to show what is going wrong:

> closeSocket fClientInputSocket num: 520
> create new socket from accept() socket num: 768
> createNewClientConnection socket num: 768
> assignHandler socket num: 768
> assignHandler socket num: 768
> clearHandler socket num: 1112
> assignHandler socket num: 1112
> assignHandler socket num: 520

I.e., The code was attempting to handle socket 520 ("fClientInputSocket") after it had been closed.  However, I still don't understand how this can be occurring.

So please replace your "RTSPServer.cpp" and "RTPInterface.cpp" with the attached versions, that add some extra debugging output (but make no other changes).  Then please send us the new debugging output, the next time you see the error.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130627/cbf2fe0b/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RTPInterface.cpp
Type: application/octet-stream
Size: 22539 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130627/cbf2fe0b/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130627/cbf2fe0b/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RTSPServer.cpp
Type: application/octet-stream
Size: 90746 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130627/cbf2fe0b/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130627/cbf2fe0b/attachment-0005.html>


More information about the live-devel mailing list