I copy-pasted the dial code from the stdlib, made it work with async sockets, replaced connect with bind and here it is: <https://github.com/mildred/stalwart-gw/blob/master/src/utils/parse_port.nim>
- How to listen to an IPv6 address but also allow IPv4 mildred
- How to listen to an IPv6 address but also allow IPv4 mildred
- How to listen to an IPv6 address but also allow IPv4 mildred
- How to listen to an IPv6 address but also allow IPv4 mildred