From 9d2c841843bfe91f8479fdc06b5091f666099028 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 5 Mar 2013 09:53:29 +0000 Subject: IPv6 support + removed cTCPLink from Lua API git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ListenThread.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/ListenThread.h') diff --git a/source/ListenThread.h b/source/ListenThread.h index 90523ea4f..ab2c97b9d 100644 --- a/source/ListenThread.h +++ b/source/ListenThread.h @@ -37,7 +37,7 @@ public: virtual void OnConnectionAccepted(cSocket & a_Socket) = 0; } ; - cListenThread(cCallback & a_Callback); + cListenThread(cCallback & a_Callback, cSocket::eFamily a_Family); ~cListenThread(); /// Creates all the sockets, returns trus if successful, false if not. @@ -56,6 +56,9 @@ protected: /// The callback which to notify of incoming connections cCallback & m_Callback; + /// Socket address family to use + cSocket::eFamily m_Family; + /// Sockets that are being monitored cSockets m_Sockets; -- cgit v1.2.3