Udp.open/port/send/recv/from_ip/from_port/close/resolve/local_ip/ip/ip_text, native BSD sockets (udp.ll) and Winsock (udp_win.ll, -lws2_32), linked only when a program uses Udp.*; example, docs and tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
342 B
342 B
| id | name | category | kind | tokens | sig | tip | order | ns | member |
|---|---|---|---|---|---|---|---|---|---|
| udp-ip_text | Udp.ip_text | udp | namespace-method | Udp.ip_text | Udp.ip_text(ip) -> string | Format an address. | 10 | Udp | ip_text |
Turns an address back into "a.b.c.d".
program Demo {
entry {
print(Udp.ip_text(ip: Udp.ip(text: "192.168.1.11")))
}
}