Closed
Description
I was wondering if it would be useful to have a UDP example? (related: #44)
I recently dug into this, and it was working out quite nicely with Zig 0.12 / 0.13-master. Here's a gist for an "echo" via UDP on the loopback / localhost (could also be a Unix domain socket, as an extension maybe). What the gist shows is basically sockets programming since std.net
does not have abstractions for UDP (yet). There's no connection/handshake as in TCP, so there's no "client" or "server" in that sense.
Metadata
Metadata
Assignees
Labels
No labels