#include <usi++.h>
Class diagram for UDP:

Get the sourceport of UDP-datagram.
Get the destinationport of the UDP-datagram
Return length of UDP-header plus contained data.
Return the checksum of UDP-datagram.
Set the sourceport in the UDP-header.
Set the destinationport in the UDP-header.
Set the length of the UDP-datagramm.
Set the UDP-checksum. Calling this function with s != 0 will prevent sendpack() from setting the checksum!!!
[virtual]Send an UDP-datagramm, containing 'paylen' bytes of data.
Reimplemented from IP.
[virtual]Receive an UDP-datagramm.
Reimplemented from IP.
[virtual]Capture packets that are not for our host.
Reimplemented from IP.
[virtual]Initialize a device ("eth0" for example) for packet- capturing. It MUST be called before sniffpack() is launched. Set 'promisc' to 1 if you want the device running in promiscous mode. Fetch at most 'snaplen' bytes per call.
Reimplemented from Datalink.
written by Dimitri van Heesch, © 1997-1999