summaryrefslogtreecommitdiffstats
path: root/source/Server.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-05 10:53:29 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-05 10:53:29 +0100
commit9d2c841843bfe91f8479fdc06b5091f666099028 (patch)
tree5c4e62df8406f865ac2375caca338c10bfccceee /source/Server.h
parentMoved client socket accepting into a separate thread object, cListenThread (diff)
downloadcuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar.gz
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar.bz2
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar.lz
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar.xz
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.tar.zst
cuberite-9d2c841843bfe91f8479fdc06b5091f666099028.zip
Diffstat (limited to '')
-rw-r--r--source/Server.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Server.h b/source/Server.h
index ec91bb6c0..b12453aec 100644
--- a/source/Server.h
+++ b/source/Server.h
@@ -101,10 +101,12 @@ private:
} ;
struct sServerState;
- sServerState* m_pState;
+ sServerState * m_pState;
cNotifyWriteThread m_NotifyWriteThread;
- cListenThread m_ListenThread;
+
+ cListenThread m_ListenThreadIPv4; // IPv4
+ cListenThread m_ListenThreadIPv6; // IPv6
cCriticalSection m_CSClients; // Locks client list
cClientHandleList m_Clients; // Clients that are connected to the server