From f3d1e6ca5548f968eb3be898f228bd248019e0bc Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 5 Feb 2025 21:07:03 +0100 Subject: [PATCH 1/2] fix typo --- network.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.zig b/network.zig index c23ff1f..7705ab1 100644 --- a/network.zig +++ b/network.zig @@ -738,7 +738,7 @@ pub const Socket = struct { return len; } // .darwin returns ISCONN error for already connected socket - // .windows and .lynux both don't care + // .windows and .linux both don't care // Intercepts ISCONN status for .darwin and retry sendto with null destination address pub fn sendto( /// The file descriptor of the sending socket. From 19f539c2ca08b7cb17846fee9b3e8607b384bb72 Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 5 Feb 2025 21:07:15 +0100 Subject: [PATCH 2/2] making Socket.sendto private not to be confused with Socket.sendTo --- network.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.zig b/network.zig index 7705ab1..025de6c 100644 --- a/network.zig +++ b/network.zig @@ -740,7 +740,7 @@ pub const Socket = struct { // .darwin returns ISCONN error for already connected socket // .windows and .linux both don't care // Intercepts ISCONN status for .darwin and retry sendto with null destination address - pub fn sendto( + fn sendto( /// The file descriptor of the sending socket. sockfd: std.posix.socket_t, /// Message to send.