Closed antiguru closed 5 years ago
Because I don't know enough about these: do we have confidence that these types have no heap allocations on all platforms? They seem like wrappers around platform-specific types, which are harder to reason about with confidence.
It seems to be a pointer-free data structure on Linux, Mac, and Windows:
This looks good to me, with the caveat that we can never really know what is going on behind the scenes.
Add support for types encoding IPv4/6 addresses and their corresponding sockets.
Signed-off-by: Moritz Hoffmann antiguru@gmail.com