Changed TCP_Recv_Err to Socket_Info_Err and tested on darwin_arm64
This commit is contained in:
1 parent
42aa8ac383
commit
c08d9c50c8
1 file changed
+1
-1
@@ -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