uce/site/doc/pages/socket_close.txt
2026-06-16 12:21:31 +00:00

17 lines
327 B
Plaintext

:sig
void socket_close(u64 sockfd)
:params
sockfd : socket handle
:see
>socket
:content
Closes an existing socket connection.
Use this when you are done with a socket opened through `socket_connect()`.
:example
print("socket_close is resource-bound; configure the service or connection, then call it in request code.\n");