summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-21 23:25:29 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-21 23:25:29 +0200
commitc7b4b9f819e0c1335ece87695599474fc14fcdcf (patch)
treed640af246fec0ea63c408a57a28c61ee4f5961dd /source/packets/cPacket.cpp
parentSetting files (diff)
downloadcuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.gz
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.bz2
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.lz
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.xz
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.tar.zst
cuberite-c7b4b9f819e0c1335ece87695599474fc14fcdcf.zip
Diffstat (limited to 'source/packets/cPacket.cpp')
-rw-r--r--source/packets/cPacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket.cpp b/source/packets/cPacket.cpp
index e49c3e016..7775ede73 100644
--- a/source/packets/cPacket.cpp
+++ b/source/packets/cPacket.cpp
@@ -13,7 +13,7 @@
//*****************************************************************************
// Blocking receive all function
//*****************************************************************************
-int cPacket::RecvAll( SOCKET a_Socket, char* a_Data, unsigned int a_Size, int a_Options )
+int cPacket::RecvAll( cSocket & a_Socket, char* a_Data, unsigned int a_Size, int a_Options )
{
unsigned int RequestSize = a_Size;
while(a_Size != 0)
@@ -30,7 +30,7 @@ int cPacket::RecvAll( SOCKET a_Socket, char* a_Data, unsigned int a_Size, int a_
//*****************************************************************************
// Own implementation of send()
//*****************************************************************************
-int cPacket::SendData( SOCKET a_Socket, const char* a_Message, unsigned int a_Size, int a_Options )
+int cPacket::SendData( cSocket & a_Socket, const char* a_Message, unsigned int a_Size, int a_Options )
{
return send(a_Socket, a_Message, a_Size, a_Options | MSG_NOSIGNAL );
}