>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/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to