Started to implement server state engine.
This commit is contained in:
+11
-7
@@ -24,13 +24,17 @@
|
||||
#define ERR_SOCK_SERVERADDR_NOT_SET 2
|
||||
#define ERR_SOCK_INVALID_PORT 3
|
||||
#define ERR_SOCK_CREATION_FAILED 4
|
||||
#define ERR_SOCK_SET_PORT_FAILED 5
|
||||
#define ERR_SOCK_RESOLVE_FAILED 6
|
||||
#define ERR_SOCK_CONNECT_FAILED 7
|
||||
#define ERR_SOCK_SELECT_FAILED 8
|
||||
#define ERR_SOCK_RECV_FAILED 9
|
||||
#define ERR_SOCK_SEND_FAILED 10
|
||||
#define ERR_SOCK_CONN_RESET 11
|
||||
#define ERR_SOCK_SET_ADDR_FAILED 5
|
||||
#define ERR_SOCK_SET_PORT_FAILED 6
|
||||
#define ERR_SOCK_RESOLVE_FAILED 7
|
||||
#define ERR_SOCK_BIND_FAILED 8
|
||||
#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
|
||||
|
||||
// This is an internal message which is not reported.
|
||||
#define MSG_SOCK_INTERNAL_PENDING 0
|
||||
|
||||
Reference in New Issue
Block a user