mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 23:51:25 -07: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)
|
||||
*/
|
||||
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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user