47 static quint16 getChecksum(
const char *data, quint16 length,
48 quint16 sourcePort, quint16 destinationPort);
56 static quint16 overflowHandling(quint16 checksum);
Represents a network package.
Definition package.h:28
Represents a network port.
Definition port.h:24
A static class providing methods for initializing UDP headers.
Definition udp.h:25
static void initHeader(const Port &sourcePort, const Port &destinationPort, Package &data)
Initializes a UDP header.
Definition udp.cpp:8
Contains the Package class definition.
Contains the Port class definition.