mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 03:14:00 +02:00
- attempt to fix WSAStartup error message on win32
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user