sources/network/rconsession.h

changeset 186
9330b93d9946
parent 183
9b6a0daedfc0
child 189
248d0b85cbda
--- a/sources/network/rconsession.h	Wed Jan 27 14:16:58 2021 +0200
+++ b/sources/network/rconsession.h	Wed Jan 27 18:55:03 2021 +0200
@@ -95,9 +95,9 @@
 	RCONSession();
 	~RCONSession();
 
-	const IPAddress&            address() const;
+	const net::ip_address&            address() const;
 	void                        bumpLastPing();
-	void                        connect(IPAddress address);
+	void                        connect(net::ip_address address);
 	void                        disconnect();
 	int                         getAdminCount() const;
 	const std::string&               getLevel() const;
@@ -117,7 +117,7 @@
 
 private:
 	RCONSessionState m_state;
-	IPAddress m_address;
+	net::ip_address m_address;
 	UDPSocket m_socket;
 	time_t m_lastPing;
 	std::string m_password;

mercurial