#include <cstdint>
#include <memory>
#include <optional>
#include "IAddress.hpp"
#include "IPacket.hpp"
#include "IPeer.hpp"
Go to the source code of this file.
|
| struct | HostNetworkEvent |
| | Represents a network event (connection, disconnection, or received data). More...
|
| |
| class | IHost |
| | Interface representing a network host (server or client endpoint). More...
|
| |
◆ NetworkEventType
Type of network event.
| Enumerator |
|---|
| NONE | No event occurred.
|
| CONNECT | A peer has connected.
|
| DISCONNECT | A peer has disconnected.
|
| RECEIVE | A packet was received.
|
Definition at line 21 of file IHost.hpp.