summaryrefslogtreecommitdiffstats
path: root/source/cSocket.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-05 17:24:16 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-05 17:24:16 +0100
commitab95abb6bde0073ebb869624332adf028aac8dd7 (patch)
tree74df0d744fafb12719d3e3934e9d1bfbbb20e72f /source/cSocket.h
parentcSocket: added error logging to Bind() failures (diff)
downloadcuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.gz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.bz2
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.lz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.xz
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.tar.zst
cuberite-ab95abb6bde0073ebb869624332adf028aac8dd7.zip
Diffstat (limited to '')
-rw-r--r--source/cSocket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cSocket.h b/source/cSocket.h
index 5f373edac..98fc5fdc4 100644
--- a/source/cSocket.h
+++ b/source/cSocket.h
@@ -28,7 +28,8 @@ public:
int SetReuseAddress();
static int WSAStartup();
- static const char* GetLastErrorString();
+ static AString GetErrorString( int a_ErrNo );
+ static int GetLastError();
static cSocket CreateSocket();
inline static bool IsSocketError( int a_ReturnedValue )