Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::net::UdpSocket::Stats Struct Reference

Counters since the socket was opened. More...

#include <aegis2d/net/udp_socket.hpp>

Public Attributes

std::uint64_t sent = 0
 Datagrams handed to the system.
 
std::uint64_t received = 0
 Datagrams given to the receive handler.
 
std::uint64_t dropped = 0
 Datagrams received but dropped because they were too large.
 
std::uint64_t send_errors = 0
 Sends the system refused (unreachable network...).
 

Detailed Description

Counters since the socket was opened.

Member Data Documentation

◆ dropped

std::uint64_t aegis2d::net::UdpSocket::Stats::dropped = 0

Datagrams received but dropped because they were too large.

◆ received

std::uint64_t aegis2d::net::UdpSocket::Stats::received = 0

Datagrams given to the receive handler.

◆ send_errors

std::uint64_t aegis2d::net::UdpSocket::Stats::send_errors = 0

Sends the system refused (unreachable network...).

◆ sent

std::uint64_t aegis2d::net::UdpSocket::Stats::sent = 0

Datagrams handed to the system.


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