Changed TCP_Recv_Err to Socket_Info_Err and tested on darwin_arm64

This commit is contained in:
PePerRoNii committed 2025-06-15 12:14:59 +07:00
1 parent 42aa8ac383
commit c08d9c50c8
1 file changed
+1 -1
+1 -1
View File
@@ -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) 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) return _peer_endpoint(socket)
} }