Re:Potholes to avoid when migrating to IPv6
by TorKlingberg on Monday December 31, 2018 @09:28AM
(#18794602)
One reason people keep using string manipulation is that in C getaddrinfo gives a addrinfo, which is quite a complex struct. It contains a struct sockaddr, which is actually a sockaddr_in, which contains both an address and a port. So now you have to carefully keep track of which of your addrinfos and sockaddrs have the port in them and which are just the address.
[ Parent
| on HN ]
There are no comments on this comment yet.