<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Live-devel] Q: incomingRequestHandler(): param
2</title></head><body>
<blockquote type="cite" cite><font size="-1">Why do all the
'incomingRequestHandler()' functions take an integer parameter which
has no name? &nbsp;</font><br>
<br>
<font size="-1">In RTSPServer.hh:</font><br>
<font size="-1">static void incomingRequestHandler(void * clientData,
int /* mask */);</font></blockquote>
<div><br></div>
<div>It's to allow for the possibility of handlng socket events other
than 'socket is readable'.&nbsp; E.g., one could define a
&quot;TaskaScheduler&quot; subclass that also handled 'socket is
writeable' events.&nbsp; (As you noted, though, this functionality
isn't currently used at all in the released code.)</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>