Add support for IPv6 and try not no be protocol dependent.
(stop passin sin_addr everywhere, use sockaddr more often, try using getaddrinfo and getnameinfo, instead of gethostbyname and gethostbyaddr)
Log in to post a comment.