This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <net/clientdata.h>
|
||||
#include <net/resolverthread.h>
|
||||
#include <net/clientexception.h>
|
||||
#include <net/socket_helper.h>
|
||||
#include <net/socket_msg.h>
|
||||
|
||||
#include <stdexcept>
|
||||
@@ -319,7 +320,7 @@ ClientStateFinal::~ClientStateFinal()
|
||||
int
|
||||
ClientStateFinal::Process(ClientThread &client)
|
||||
{
|
||||
Thread::Msleep(10);
|
||||
Thread::Msleep(CLIENT_WAIT_TIMEOUT_MSEC;
|
||||
|
||||
return MSG_SOCK_INTERNAL_PENDING;
|
||||
}
|
||||
|
||||
@@ -32,6 +32,11 @@
|
||||
#define IOCTLSOCKET ioctlsocket
|
||||
#define SOCKET_ERRNO() WSAGetLastError()
|
||||
#define SOCKET_ERR_WOULDBLOCK WSAEWOULDBLOCK
|
||||
|
||||
typedef unsigned __int16 u_int16_t;
|
||||
typedef unsigned __int32 u_int32_t;
|
||||
typedef unsigned char u_char;
|
||||
|
||||
#else
|
||||
#define SOCKET int
|
||||
#define SOCKET_ERROR -1
|
||||
|
||||
Reference in New Issue
Block a user