Browse Source

Changed TCP_Recv_Err to Socket_Info_Err and tested on darwin_arm64

PePerRoNii 2 months ago
parent
commit
c08d9c50c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/net/socket.odin

+ 1 - 1
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)
 	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)
 }
 }