io.snprintf
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user