--- a/sources/network/rconsession.h Wed Jan 27 19:01:37 2021 +0200 +++ b/sources/network/rconsession.h Wed Jan 27 19:27:23 2021 +0200 @@ -101,13 +101,13 @@ void disconnect(); int getAdminCount() const; const std::string& getLevel() const; - UDPSocket* getSocket(); + net::UDPSocket* getSocket(); RCONSessionState getState() const; void handlePacket(ByteArray& message); bool isActive() const; void processServerUpdates(Bytestream& packet); void requestTabCompletion(const std::string& part); - void send(const ByteArray& packet); + bool send(const ByteArray& packet); bool sendCommand(const std::string& commandString); void sendHello(); void sendPassword(); @@ -118,7 +118,7 @@ private: RCONSessionState m_state; net::ip_address m_address; - UDPSocket m_socket; + net::UDPSocket m_socket; time_t m_lastPing; std::string m_password; std::string m_salt;