Fwd: HXThreadedSocket
"Mahmoud Hammoud" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Could someone please take a quick look at my question? This is quite important. In relation to it, I would also like to know the difference between IHXSocket and CHXSocket. Where is the function IHXSocket::ReadFrom which is called in HXThreadedSocket::HandleRead( ) actually implemented? I really appreciate your help. All the best, Mahmoud ---------- Forwarded message ---------- From: Mahmoud Hammoud <[email protected]> Date: Thu, Sep 25, 2008 at 10:07 AM Subject: HXThreadedSocket To: [email protected] Cc: Jyotsana Rathore <[email protected]>, Gregory Wright <[email protected]>, [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