diff options
| author | PePerRoNii <wachiraphol.yin@gmail.com> | 2025-06-15 11:17:49 +0700 |
|---|---|---|
| committer | PePerRoNii <wachiraphol.yin@gmail.com> | 2025-06-15 11:17:49 +0700 |
| commit | 42aa8ac383e5b5020ba12fab44193eca8a244ad8 (patch) | |
| tree | 4e36a515124441ce0c1fa1e95c6dac785cd03c11 /core/net/socket.odin | |
| parent | f49bf1abd262a708886d7babf13100e7f1152de0 (diff) | |
Implemented _socket_info_error on peer_endpoint and bound_endpoint
Diffstat (limited to 'core/net/socket.odin')
| -rw-r--r-- | core/net/socket.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/net/socket.odin b/core/net/socket.odin index ada7247e3..988d47c86 100644 --- a/core/net/socket.odin +++ b/core/net/socket.odin @@ -174,7 +174,7 @@ listen_tcp :: proc(interface_endpoint: Endpoint, backlog := 1000) -> (socket: TC /* Returns the endpoint that the given socket is listening / bound on. */ -bound_endpoint :: proc(socket: Any_Socket) -> (endpoint: Endpoint, err: Listen_Error) { +bound_endpoint :: proc(socket: Any_Socket) -> (endpoint: Endpoint, err: Socket_Info_Error) { return _bound_endpoint(socket) } |