From 360c579105a2acf2b9a14ab5a8c7b019404ad5e8 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 15 Jun 2013 20:24:22 +0000 Subject: Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACK git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/OSSupport/Socket.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/OSSupport/Socket.h') diff --git a/source/OSSupport/Socket.h b/source/OSSupport/Socket.h index ddaf7d8c0..34f09cc74 100644 --- a/source/OSSupport/Socket.h +++ b/source/OSSupport/Socket.h @@ -61,7 +61,6 @@ public: static bool IsValidSocket(xSocket a_Socket); - static unsigned long INTERNET_ADDRESS_LOCALHOST(void); // 127.0.0.1 represented in network byteorder; must be a function due to GCC :( static const unsigned short ANY_PORT = 0; // When given to Bind() functions, they will find a free port static const int DEFAULT_BACKLOG = 10; -- cgit v1.2.3