1 #ifndef BLANK_NET_CLIENT_HPP_
2 #define BLANK_NET_CLIENT_HPP_
4 #include "Connection.hpp"
18 std::string host = "localhost";
23 explicit Client(const Config &);
30 Connection &GetConnection() noexcept { return conn; }
31 const Connection &GetConnection() const noexcept { return conn; }
34 void SendLogin(const std::string &);
37 void HandlePacket(const UDPpacket &);
41 UDPsocket client_sock;
42 UDPpacket client_pack;