HXThreadedSocket
"Mahmoud Hammoud" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Dear All, First of all I would like to thank you a lot (especially Jyotsana, Greg, and Eric) for your constant support, this mailing list has been very helpful and at the same time really informative. I have a question regarding how packets make it through from the low-level socket implementation in HXThreadedSocket, to the (RTP/UDP) transport layer (with m_pOwner->ReadFromDone(...) in rtspclnt.cpp) and finally reach the "application" layer. From what I know, this is roughly what happens: 1) The UDP sockets are created with RTSPClientProtocol::CreateUDPSockets(...), which is called in InitSockets( ). 2) In the net thread, the chain HXThreadedSocket::EventPending(...), HandleRead( ), m_pSock->ReadFrom(...), m_inbound.AddTail(pBuf, pAddr) gets executed (for read events). HERE IS MY MISSING LINK, where does this m_inbound structure get read again i.e. what happens between this point and m_pOwner->ReadFromDone(...) in RTSPClientProtocol::UDPResponseHelper::EventPending(...)? Where do the packets (pBuf) get dequeued from m_inbound and then reach this point to be passed to the transport layer? Thank you again, Mahmoud Hammoud _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev