RE: HXThreadedSocket

"Eric Hyche" <[email protected]>
Newsgroups gmane.comp.multimedia.helix.devel
Organization RealNetworks, Inc.
Message-ID <00fc01c91fff$24b0fc30$6e12f490$@com>
Here is a link that may help:

https://helix-client.helixcommunity.org/2008/devdocs/Network_layer_helix.html

Eric

=======================================
Eric Hyche ([email protected])
Principal Engineer
RealNetworks, Inc.


>-----Original Message-----
>From: Mahmoud Hammoud [mailto:[email protected]]
>Sent: Friday, September 26, 2008 11:50 AM
>To: [email protected]
>Cc: Jyotsana Rathore; Gregory Wright; [email protected]
>Subject: Fwd: HXThreadedSocket
>
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.