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