> But when doing this, i am getting the following error 
> "BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor". I 
> have no idea why i am getting this. An indea of the root cause ?

That error message means that the socket number in the “Groupsock” object is 
invalid - perhaps because the “Groupsock” object itself has become invalid.  In 
the code that you gave earlier, you declared your “Groupsock” object 
‘statically’ - i.e., on the stack.  Because you then pass a pointer to that 
object to a separate object that was created dynamically - i.e., on the heap - 
you need to make sure that the “Groupsock” object remains in scope when you 
later call “doEventLoop()".


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