SatCat5
satcat5::ip::Port Struct Reference

Detailed Description

UDP and TCP ports are both 16-bit unsigned integers.

Definition at line 119 of file ip_core.h.

#include <ip_core.h>

Public Member Functions

constexpr Port (u16 port)
 Constructor.
 
 Port (const Port &t)=default
 
Portoperator= (const Port &t)=default
 
constexpr bool operator== (const satcat5::ip::Port &other) const
 Commonly used operators.
 
constexpr bool operator!= (const satcat5::ip::Port &other) const
 Commonly used operators.
 
void write_to (satcat5::io::Writeable *wr) const
 Commonly used operators.
 
bool read_from (satcat5::io::Readable *rd)
 Commonly used operators.
 

Public Attributes

u16 value
 Raw access to the underlying representation.
 

The documentation for this struct was generated from the following file: