aboutsummaryrefslogtreecommitdiff
path: root/core/net/errors_darwin.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2023-03-03 17:12:21 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2023-03-03 17:12:21 +0100
commit5da5ebff130647e1d64130e0577a344dea45b2e5 (patch)
tree8351e7d63ef1f5e63a79c46a4e4982a42515315f /core/net/errors_darwin.odin
parent798932523e5bc63e473a6a768a47cff6e920cdff (diff)
More coalescing.
Diffstat (limited to 'core/net/errors_darwin.odin')
-rw-r--r--core/net/errors_darwin.odin6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/net/errors_darwin.odin b/core/net/errors_darwin.odin
index 8e256a9de..2196933d1 100644
--- a/core/net/errors_darwin.odin
+++ b/core/net/errors_darwin.odin
@@ -165,6 +165,12 @@ UDP_Send_Error :: enum c.int {
No_Memory_Available = c.int(os.ENOMEM), // No memory was available to properly manage the send queue.
}
+Shutdown_Manner :: enum c.int {
+ Receive = c.int(os.SHUT_RD),
+ Send = c.int(os.SHUT_WR),
+ Both = c.int(os.SHUT_RDWR),
+}
+
Shutdown_Error :: enum c.int {
Aborted = c.int(os.ECONNABORTED),
Reset = c.int(os.ECONNRESET),