Cleaned up the code. Added client exception for error handling.
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#define ERR_SOCK_RESOLVE_FAILED 12
|
||||
#define ERR_SOCK_CONNECT_FAILED 13
|
||||
|
||||
// This is an internal message which is not reported.
|
||||
#define MSG_SOCK_INTERNAL_PENDING 0
|
||||
|
||||
// The following messages are reported.
|
||||
#define MSG_SOCK_INIT_DONE 1
|
||||
#define MSG_SOCK_RESOLVE_DONE 2
|
||||
#define MSG_SOCK_CONNECT_DONE 3
|
||||
|
||||
Reference in New Issue
Block a user