summaryrefslogtreecommitdiffstats
path: root/ProtoProxy/Server.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-20 23:52:34 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-20 23:52:34 +0200
commit3ac98f3f26e4893c96a7dc149684bc3df15e753e (patch)
treebee427afdcb1a3eb1aab1bb531142878ce60c9e1 /ProtoProxy/Server.cpp
parentDouble chests are formed correctly in all situations (meta is adjusted for the neighboring chest) (diff)
downloadcuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar.gz
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar.bz2
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar.lz
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar.xz
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.tar.zst
cuberite-3ac98f3f26e4893c96a7dc149684bc3df15e753e.zip
Diffstat (limited to 'ProtoProxy/Server.cpp')
-rw-r--r--ProtoProxy/Server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ProtoProxy/Server.cpp b/ProtoProxy/Server.cpp
index 7eaa728ad..2b715b5c1 100644
--- a/ProtoProxy/Server.cpp
+++ b/ProtoProxy/Server.cpp
@@ -46,6 +46,9 @@ int cServer::Init(short a_ListenPort, short a_ConnectPort)
local.sin_port = htons(a_ListenPort);
bind(m_ListenSocket, (sockaddr *)&local, sizeof(local));
listen(m_ListenSocket, 1);
+
+ printf("Listening on port %d, connecting to localhost:%d\n", a_ListenPort, a_ConnectPort);
+
return 0;
}