Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
udp_socket.hpp File Reference

UDP socket sending and receiving datagrams asynchronously. More...

#include <aegis2d/net/context.hpp>
#include <aegis2d/net/endpoint.hpp>
#include <aegis2d/net/export.hpp>
#include <aegis2d/net/packet.hpp>
#include <aegis2d/net/socket_error.hpp>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <span>
#include <stdexcept>

Go to the source code of this file.

Classes

class  aegis2d::net::UdpSocket
 UDP socket bound to a local endpoint, receiving and sending whole datagrams. More...
 
struct  aegis2d::net::UdpSocket::Stats
 Counters since the socket was opened. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::net
 Binary serialization, UDP/TCP sockets and the network thread.
 

Detailed Description

UDP socket sending and receiving datagrams asynchronously.