From 7cf9ddaa48b40e845a9317f1cf07f929d3c231b3 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 25 Aug 2012 21:59:13 +0000 Subject: cSocket doesn't use cPackets. git-svn-id: http://mc-server.googlecode.com/svn/trunk@790 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocket.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/cSocket.h') diff --git a/source/cSocket.h b/source/cSocket.h index 62c2e74d1..f1c3f233c 100644 --- a/source/cSocket.h +++ b/source/cSocket.h @@ -5,12 +5,6 @@ -class cPacket; - - - - - class cSocket { public: @@ -74,8 +68,6 @@ public: int Connect(const AString & a_HostNameOrAddr, unsigned short a_Port); // Returns 0 on success, !0 on failure int Receive( char* a_Buffer, unsigned int a_Length, unsigned int a_Flags ); int Send (const char * a_Buffer, unsigned int a_Length); - int Send (const cPacket * a_Packet); // Sends the packet, doesn't handle partial sends - int Send (const cPacket & a_Packet); // Sends the packet, doesn't handle partial sends unsigned short GetPort(void) const; // Returns 0 on failure -- cgit v1.2.3