![]() |
| | #1 |
| Registered User Join Date: Feb 2009
Posts: 10
| Reading UDP header and receiving packets using recvfrom Is there a way to read the UDP headers which are used by the lower layer. I don't really want to go into raw sockets to do that.... |
| vkaushal21 is offline | |
| | #2 |
| Registered User Join Date: Apr 2008
Posts: 278
| if this is just to check things, you can use a 3rd party tool to monitor the traffic like wireshark or tcpdump. |
| root4 is offline | |
| | #3 |
| Registered User Join Date: Jul 2007
Posts: 44
| UDP headers are just [src port][dst port][lenght][checksum]. There pretty much isn't anything you already don't know, system calls don't give you, or you can't compute easily. |
| fronty is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with UDP | AlexS | C# Programming | 0 | 07-07-2009 06:21 PM |
| simultaneously waiting for data on FIFO and UDP using select call | yogesh3073 | Networking/Device Communication | 2 | 01-05-2007 09:53 AM |
| Header Files | Volair | C Programming | 2 | 12-09-2005 10:51 AM |
| Problems in reading binary file | serena | C Programming | 3 | 04-14-2005 03:54 AM |
| unblocked UDP reading | Mastadex | Linux Programming | 7 | 12-15-2004 09:55 AM |