LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to reassemble fragmented UDP datagrams using raw sockets? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-reassemble-fragmented-udp-datagrams-using-raw-sockets-839104/)

shahhe 10-19-2010 01:43 PM

How to reassemble fragmented UDP datagrams using raw sockets?
 
Folks,

Can you direct me to a C example on how to reassemble fragmented UDP datagrams?

I have written C application that read UDP datagrams using raw socket. For most part I am able to read the packets and get the information I want, but some of the packets I receive are fragmented, I am not sure how to look at fragment bits and offsets and reassemble the packets.

Thanks.


All times are GMT -5. The time now is 04:18 AM.