3#include <StormByte/network/typedefs.hxx>
15namespace StormByte::Network::Connection {
65 std::
string LastError() const noexcept;
71 int LastErrorCode() const noexcept;
80 bool m_initialized = false;
Definition handler.hxx:16
SOCKET Type
The type of the socket.
Definition handler.hxx:21
~Handler() noexcept
The destructor of the Handler class.
Handler(const Handler &other)=delete
The copy constructor of the Handler class.
Handler(const PacketInstanceFunction &packet_instance_function) noexcept
The constructor of the Handler class.
Handler(Handler &&other) noexcept=delete
The move constructor of the Handler class.
std::function< std::shared_ptr< Packet >(const unsigned short &)> PacketInstanceFunction
The packet instance function type.
Definition typedefs.hxx:39