Client Receive Socket(s)
"Mahmoud Hammoud" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Milko/All, I would really appreciate it if someone could answer the following questions concerning how the packets are read by the sockets at the helix client: 1) In HXThreadedSocket::HandleRead( ), which subsequently calls ReadFrom(&pBuf, &pAddr) in the case of UDP Transport, are the packets being read from some sort of buffer that holds the "inbound" packets? Here I'm making reference to the m_inbound.RemoveHead(...) statement; if so, where does this buffering of packets in this m_inbound structure take place? Are the packets being somehow buffered in a structure as they get received from the network interface and then read/played by the client? 2) I'm finding this a little confusing: on one hand, the UDP sockets for the different streams involved in a media session are created with RTSPClientProtocol::InitSockets( ) (which in turn also calls CreateUDPSockets(..)) and on the other hand the actual reading/reception of the packets from the network interface seems to take place in HXThreadedSocket where the code looks relatively "low-level". Could you please give me some hints on how these 2 different modules relate to one another? Just a small summary would do.. Thanks a lot for your help, Mahmoud _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev