NetSim 1.0.0
An educational network simulation software for students
|
A static class providing methods for initializing UDP headers. More...
#include <udp.h>
Static Public Member Functions | |
static void | initHeader (const Port &sourcePort, const Port &destinationPort, Package &data) |
Initializes a UDP header. | |
A static class providing methods for initializing UDP headers.
The UDP class offers functionalities to work with UDP headers, including the initialization of headers and the computation of the UDP checksum.
|
static |
Initializes a UDP header.
sourcePort | Source port. |
destinationPort | Destination port. |
data | The package data. |