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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top