Using the source address from std.posix.recvfrom and printing to string

Here’s an example Idiomatic Complex Formatting - #5 by castholm .

Long story short, the first parameter will be your struct type and the last parameter is just a normal writer. Those are the two you’l use pretry much always. The fmt and options parameters are usually just ignored.

1 Like