Cleaned up the code. Added client exception for error handling.
This commit is contained in:
1 parent
e6c6fa0eee
commit
9ec3e020dd
9 files changed
+173
-71
No files matched your search
@@ -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