summaryrefslogtreecommitdiffstats
path: root/source/cSocket.h
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.h
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.h')
-rw-r--r--source/cSocket.h8
1 files changed, 0 insertions, 8 deletions
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