Hi Bob, you may use a watchVariable in the doEventLoop like this ... watchVariable=0; env->taskScheduler().doEventLoop(&watchVariable); ... and add a socket or a new thread that permits you to change this variable externally. When the Scheduler watch this variable is modified it will go out from the EvenLoop, and then, if you want you could stop what you want or call again doEventLoop(&watchVariable);
It is the form that I use it. I hope this helps you. Ramon _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel