LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2010, 01:43 PM   #1
shahhe
Member
 
Registered: Nov 2003
Location: Chicago
Distribution: RHEL 5.4 on HP servers
Posts: 44

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending UDP packets with RAW sockets in less than a ms - Tuning IP stack? AustinMarton Linux - Networking 0 01-26-2010 04:23 PM
fragmented udp packets zsoltrenyi Linux - Networking 5 07-08-2006 04:29 AM
how to get source physical address of received udp datagrams? lyeoh Linux - Networking 0 05-31-2006 05:35 AM
Raw Sockets Srikanth0210 Programming 2 12-05-2005 03:22 AM
how to broadcast UDP datagrams sokar Programming 2 02-14-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration