Use of getaddrinfo() versus deprecated gethostbyname()

  • Thread starter Thread starter Minor Crank
  • Start date Start date
M

Minor Crank

Sorry for the silly newbie question.

Our manager has directed us to use the getaddrinfo() instead of the
deprecated gethostbyname().

The problem is, I don't know where getaddrinfo() get its address
information. It seems to ignore entries placed in the hosts table.

Help!

Tom
 
Back
Top