[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getaddrinfo() and AI_CANONNAME

>> 	if you are using DNS, DNS resolver knows where it got the mapping.
>I think it wouldn't be a very good idea to depend on external services like
>DNS to resolve the local hostname...

	you were looking for FQDN of local hostname?  in that case,
	you should never use ai_canonname for that.  i was confused.
	sorry about the confusion.