- attempt to fix WSAStartup error message on win32

This commit is contained in:
Mark Vejvoda
2011-01-17 21:31:59 +00:00
parent c51eb0a3c4
commit d8e28fbf90
3 changed files with 17 additions and 16 deletions

View File

@@ -92,23 +92,20 @@ public:
// class Socket
// =====================================================
class Socket : public SimpleTaskCallbackInterface {
#ifdef WIN32
private:
class SocketManager{
public:
SocketManager();
~SocketManager();
};
protected:
static SocketManager socketManager;
class SocketManager{
public:
SocketManager();
~SocketManager();
};
#endif
class Socket : public SimpleTaskCallbackInterface {
protected:
#ifdef WIN32
SocketManager wsaManager;
#endif
PLATFORM_SOCKET sock;
time_t lastDebugEvent;
static int broadcast_portno;