[Live-devel] Query regarding turnOnBackgroundReadHandling()
venugopalpaikr
venugopalpaikr at tataelxsi.co.in
Thu Sep 25 22:34:25 PDT 2008
Hi everybody,
My understanding about the following function is very vague. Can
anybody please help with the following doubts...
env.taskScheduler().turnOnBackgroundReadHandling(fServerSocket,
(TaskScheduler::BackgroundHandlerProc*)&incomingConnectionHandler,
this);
}
1. Am building an RTSPServer using RTSPServer.cpp code. So will the above
function continously read a particular port until it gets a request from the
client or do we need to add a while loop anywhere in the code to make it
read continously?
2. OR Do we have to use env.taskScheduler().doEventLoop() to continously
monitor for requests? If so wat should the parameter to this function?
3. If it gets a request will it automatically go to function
incomingConnectionHandler() and create an instance of server class?
Kindly help me with the above-mentioned queries..
Regards,
Venu
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
More information about the live-devel
mailing list