diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-07 22:04:37 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-07 22:04:37 +0100 |
commit | 5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5 (patch) | |
tree | 3f77efdd874e76911f90118c77091794f5b7d04b /source/cSocket.cpp | |
parent | Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility. (diff) | |
download | cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar.gz cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar.bz2 cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar.lz cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar.xz cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.tar.zst cuberite-5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5.zip |
Diffstat (limited to 'source/cSocket.cpp')
-rw-r--r-- | source/cSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cSocket.cpp b/source/cSocket.cpp index fa016762c..f53724216 100644 --- a/source/cSocket.cpp +++ b/source/cSocket.cpp @@ -16,7 +16,7 @@ - unsigned long cSocket::INTERNET_ADDRESS_LOCALHOST = htonl((127 << 24) | 1);
+ unsigned long cSocket::INTERNET_ADDRESS_LOCALHOST = 127; // TODO: Linux won't accept this: htonl((127 << 24) | 1);
|