If changes are needed in that many places, I'd rather have port-sockets.h provide an inline version of inet_ntop, to keep the KDC code simpler, that calls sprintf, since inet_ntoa isn't thread-safe. Does Cygwin support IPv6 currently? Do we need to worry about AF_INET6 addresses? Ken