NetSim 1.0.0
An educational network simulation software for students
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
NetSim::UDP Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ initHeader()

void UDP::initHeader ( const Port sourcePort,
const Port destinationPort,
Package data 
)
static

Initializes a UDP header.

Parameters
sourcePortSource port.
destinationPortDestination port.
dataThe package data.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: