10#ifndef NETWORK_CORE_TCP_STUN_H
11#define NETWORK_CORE_TCP_STUN_H
26 static constexpr bool value =
true;
virtual bool ReceiveClientStun(Packet &p)
Send a STUN request to the STUN server letting the Game Coordinator know what our actually public IP:...
NetworkStunSocketHandler(SOCKET s=INVALID_SOCKET)
Create a new cs socket handler for a given cs.
bool ReceiveInvalidPacket(PacketStunType type)
Helper for logging receiving invalid packets.
NetworkTCPSocketHandler(SOCKET s=INVALID_SOCKET)
Construct a socket handler for a TCP connection.
Includes and/or implementations for the network stuff.
Basic functions to create, fill and read packets.
static constexpr bool value
This is an enumeration of a PacketType.
Trait to mark an enumeration as a PacketType.
Basic functions to receive and send TCP packets.
PacketStunType
Enum with all types of TCP STUN packets.
@ ClientStun
Send a STUN request to the STUN server.