mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Changed TCP_Recv_Err to Socket_Info_Err and tested on darwin_arm64
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user