Rick Jones wrote: > I may be parsing your sentence incorrectly... You are.
> ...but my reading of the manpage is that one may set AI_NUMERICHOST, > in which case node must be an IP address, but that is not the same > thing as saying that if node is an IP address that AI_NUMERICHOST must > be set. If you set the flag node must be an IP number. If you don't set it getaddrinfo() will figure out for itself what node is (which, IMHO, makes getaddrinfo() too clever by half). Note that there seems to be no flag to assert that node is a hostname. -- John Hasler jhas...@newsguy.com Dancing Horse Hill Elmwood, WI USA _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions