summaryrefslogtreecommitdiffstats
path: root/source/cSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cSocket.h')
-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 )