[Info-vax] Which name is returned by the gethostbyaddr(<IP address>) in the hostent h_name field
Andy
andrewr04 at gmail.com
Fri Jul 22 02:59:34 EDT 2011
Hi,
I have not had much experience with IP programming. I have some
software that uses the gethostbyaddr(<IP address>) hostent h_name
field to do some checking.
Is this the name of the host,i.e. the name returned by the hostname
command, or the network interface?
Is there a command that returns this name?
Thanks
Andrew
More information about the Info-vax
mailing list