summaryrefslogtreecommitdiffstats
path: root/source/cSocket.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-25 23:59:13 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-25 23:59:13 +0200
commit7cf9ddaa48b40e845a9317f1cf07f929d3c231b3 (patch)
tree21d1fd080fd0e653c9acb31bd0b37a2535ade583 /source/cSocket.cpp
parentcWorld doesn't use cPackets. (diff)
downloadcuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.gz
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.bz2
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.lz
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.xz
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.tar.zst
cuberite-7cf9ddaa48b40e845a9317f1cf07f929d3c231b3.zip
Diffstat (limited to 'source/cSocket.cpp')
-rw-r--r--source/cSocket.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/source/cSocket.cpp b/source/cSocket.cpp
index edce83981..031a1c63a 100644
--- a/source/cSocket.cpp
+++ b/source/cSocket.cpp
@@ -2,7 +2,6 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "cSocket.h"
-#include "packets/cPacket.h"
#ifndef _WIN32
#include <netdb.h>
@@ -314,28 +313,6 @@ int cSocket::Send(const char * a_Buffer, unsigned int a_Length)
-int cSocket::Send(const cPacket * a_Packet)
-{
- AString Serialized;
- a_Packet->Serialize(Serialized);
- return Send(Serialized.data(), Serialized.size());
-}
-
-
-
-
-
-int cSocket::Send(const cPacket & a_Packet)
-{
- AString Serialized;
- a_Packet.Serialize(Serialized);
- return Send(Serialized.data(), Serialized.size());
-}
-
-
-
-
-
unsigned short cSocket::GetPort(void) const
{
ASSERT(IsValid());