From 9763d2b7b281ac9e69c5e1928308ca5301559bc5 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 11 Nov 2013 15:29:43 +0000 Subject: [PATCH] Added socket error codes to network.inc git-svn-id: svn://kolibrios.org@4208 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/programs/network.inc b/programs/network.inc index 78caf9a13c..42b399e7b0 100644 --- a/programs/network.inc +++ b/programs/network.inc @@ -96,3 +96,22 @@ struct ARP_entry status dw ? TTL dw ? 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 \ No newline at end of file