Added socket error codes to network.inc

git-svn-id: svn://kolibrios.org@4208 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-11-11 15:29:43 +00:00
parent 97c936deaf
commit 9763d2b7b2

View File

@ -96,3 +96,22 @@ struct ARP_entry
status dw ? status dw ?
TTL dw ? TTL dw ?
ends ends
; Socket error codes
; Error Codes
ENOBUFS = 1
EINPROGRESS = 2
EOPNOTSUPP = 4
EWOULDBLOCK = 6
ENOTCONN = 9
EALREADY = 10
EINVAL = 11
EMSGSIZE = 12
ENOMEM = 18
EADDRINUSE = 20
ECONNREFUSED = 61
ECONNRESET = 52
EISCONN = 56
ETIMEDOUT = 60
ECONNABORTED = 53