Hi, > thanks for the reply. The information about the bidirectional mode was > really helpful But I still have some concerns about it, which I would > like to ask. > 1-Once the decompresser at host # 2 tells its associated compressor to > send the feedback packet, how I can access that feedback packet so > that I can send it to the decompressor at host #1?
You do not have to do anything. The feedback data is piggy-backed in the ROHC packets that are transmitted the other way. > Please note that I am using two separate systems with host 1 and 2, > and I need to send the feedback to my host 1 using sockets. Also, > only host 1 needs to send rohc packet and host 2 has to send only > feedbacks. Ok, I see. If you do not have any compressed traffic from host 2 to host 1, you have to force the compressor on host 2 to send the feedback data without waiting for data to send to host 1. This may be achieved with the rohc_feedback_flush() function that returns to the caller a feedback-only ROHC packet. See the complete API documentation for the rohc_feedback_flush() function : http://www.tech.viveris.com/docs/rohc/rohc__comp_8h.html#a018058bb0ab4a1419264d8dd2434f7a The function is used in the tunnel application. You can look at it here http://bazaar.launchpad.net/~didier-barvaux/rohc/main/annotate/head:/app/tunnel/tunnel.c#L621 This function is not referenced in the compressor API yet. It is a mistake. I will fix that soon. Regards, Didier Barvaux
signature.asc
Description: PGP signature
_______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : [email protected] Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp

