Why do all the 'incomingRequestHandler()' functions take an integer parameter which has no name?
In RTSPServer.hh:
static void incomingRequestHandler(void * clientData, int /* mask */);

It's to allow for the possibility of handlng socket events other than 'socket is readable'. E.g., one could define a "TaskaScheduler" subclass that also handled 'socket is writeable' events. (As you noted, though, this functionality isn't currently used at all in the released code.)
--

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