io.snprintf

This commit is contained in:
2026-06-05 09:47:59 +02:00
parent 803aee772e
commit be42267a59
5 changed files with 67 additions and 18 deletions

View File

@@ -174,6 +174,7 @@ func net.resolve[domain: str] : i64, bool
// TODO: this probably shouldnt be hardcoded
~s, ok := net.create_udp_client(net.pack_addr(1, 1, 1, 1), 53)
if !ok
Blob.free(query)
return -1, false
net.udp_send_to(s, s->addr, query->data, query->size)