cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+3 -1
View File
@@ -13,4 +13,6 @@ 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");
u64 fd = socket_connect("127.0.0.1", 80);
print(fd != 0 ? "opened a socket" : "open failed", ", now closing it\n");
socket_close(fd);