[Live-devel] about live.com funtion pointer

Ross Finlayson finlayson at live.com
Tue Jan 11 07:24:29 PST 2005


At 03:14 AM 1/11/05, you wrote:
>in
>BasicTaskScheduler.cpp£º(*handler->handlerProc)(handler->clientData,
>SOCKET_READABLE)
>sometimes,it calls
>function:RTCPInstance::incomingReportHandler
>sometimes,it calls
>function:void MultiFramedRTPSource::networkReadHandler
>what is the reason?

Those function pointers are passed as parameters to 
"RTPInterface::startNetworkReading()" (which in turn calls 
"TaskScheduler::turnOnBackgroundReadHandling()", which sets the read 
handler functions for particular network sockets).

The calls to "RTPInterface::startNetworkReading()" are made in 
"MultiFramedRTPSource.cpp" and "RTCP.cpp".


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>




More information about the live-devel mailing list