gethostbyname() and gethostbyaddr() returning different host names?

411 views Asked by At

gethostbyname() and gethostbyaddr() are both returning different h_name values in their returned hostent structs when I call them in my program. I'm wondering if this behaviour is normal or should the two return identical host names?

0

There are 0 answers