aboutsummaryrefslogtreecommitdiff
path: root/core/net/socket.odin
diff options
context:
space:
mode:
authorPePerRoNii <wachiraphol.yin@gmail.com>2025-06-15 12:14:59 +0700
committerPePerRoNii <wachiraphol.yin@gmail.com>2025-06-15 12:14:59 +0700
commitc08d9c50c83f3b6c1aa1ea99667564448a911f23 (patch)
tree42944360dc8e77b137fcc646708b193733007bcb /core/net/socket.odin
parent42aa8ac383e5b5020ba12fab44193eca8a244ad8 (diff)
Changed TCP_Recv_Err to Socket_Info_Err and tested on darwin_arm64
Diffstat (limited to 'core/net/socket.odin')
-rw-r--r--core/net/socket.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/net/socket.odin b/core/net/socket.odin
index 988d47c86..f68508169 100644
--- a/core/net/socket.odin
+++ b/core/net/socket.odin
@@ -181,7 +181,7 @@ bound_endpoint :: proc(socket: Any_Socket) -> (endpoint: Endpoint, err: Socket_I
/*
Returns the endpoint that the given socket is connected to. (Peer's endpoint)
*/
-peer_endpoint :: proc(socket: Any_Socket) -> (endpoint: Endpoint, err: TCP_Recv_Error) {
+peer_endpoint :: proc(socket: Any_Socket) -> (endpoint: Endpoint, err: Socket_Info_Error) {
return _peer_endpoint(socket)
}