[Live-devel] openRTSP exit() in BasicTaskScheduler::SingleStep() due to socket error 10038(WSAENOTSOCK)
Ross Finlayson
finlayson at live555.com
Wed Apr 23 14:36:48 PDT 2008
>It is strange since each fd in readSet can be selected individually
>and the fds seem the same as in fReadSet.
That's right - the change you're proposing makes no sense, because
"readSet" should already have the correct socket numbers (and no
others) set, because of the assignment (at the start of the
"SingleStep()" function:
fd_set readSet = fReadSet; // make a copy for this select() call
So, perhaps the problem is that - for some odd reason - this
assignment is not working properly in your environment??
Or perhaps "fReadSet" - for some unknown reason - does not have the
correct socket numbers set in your environment (but the functions
"turnOnBackgroundReadHandling()" and
"turnOffBackgroundReadHandling()" should be setting "fReadSet"
properly)??
So please look into this some more, and let us know what exactly is
going on, and exactly why your proposed change is solving the problem
for you.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list