summaryrefslogtreecommitdiffstats
path: root/source/cSocket.cpp
diff options
context:
space:
mode:
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());