[Winpcap-users] UDPdump

Maria de Fatima Requena MariaF.Requena at a-e.es
Fri Dec 21 12:58:49 GMT 2007


Hi. I'm transforming your example code in order to use SIP packets,
which are supposed to be udp datagram. I'm using field uh->len in order
to work out the size of the SIP packet, but I get a number much bigger
than it should be. For example: I get a size of about 5000 for a packet
of 600.

Which unit is uh->len in?(bits, bytes...)Why is it said in the comment
to be datagram length, while the UDP specification says that it must be
the size of the whole udp packet?



More information about the Winpcap-users mailing list