Added connect timeout.
This commit is contained in:
@@ -32,13 +32,14 @@
|
||||
#define ERR_SOCK_LISTEN_FAILED 9
|
||||
#define ERR_SOCK_ACCEPT_FAILED 10
|
||||
#define ERR_SOCK_CONNECT_FAILED 11
|
||||
#define ERR_SOCK_SELECT_FAILED 12
|
||||
#define ERR_SOCK_RECV_FAILED 13
|
||||
#define ERR_SOCK_SEND_FAILED 14
|
||||
#define ERR_SOCK_CONN_RESET 15
|
||||
#define ERR_SOCK_CONN_EXISTS 16
|
||||
#define ERR_SOCK_INVALID_PACKET 17
|
||||
#define ERR_SOCK_INVALID_STATE 18
|
||||
#define ERR_SOCK_CONNECT_TIMEOUT 12
|
||||
#define ERR_SOCK_SELECT_FAILED 13
|
||||
#define ERR_SOCK_RECV_FAILED 14
|
||||
#define ERR_SOCK_SEND_FAILED 15
|
||||
#define ERR_SOCK_CONN_RESET 16
|
||||
#define ERR_SOCK_CONN_EXISTS 17
|
||||
#define ERR_SOCK_INVALID_PACKET 18
|
||||
#define ERR_SOCK_INVALID_STATE 19
|
||||
// The following errors are game errors.
|
||||
#define ERR_NET_VERSION_NOT_SUPPORTED 101
|
||||
#define ERR_NET_SERVER_FULL 102
|
||||
|
||||
Reference in New Issue
Block a user