Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: TIdDNSResolver in INDY10
| Subject: | Re: TIdDNSResolver in INDY10 |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 13 Nov 2007 17:50:06 |
"GannTrader" <Gann.trader@hotmail.com> wrote in message
news:473a334f$1@newsgroups.borland.com...
> I just thought that there mite be some easier way doing this.
If all you are interested in doing is resolving a host name to an IP
address, then use the socket API gethostbyname() function, or the Indy
GStack.ResolveHost() function, and let the OS do all the work for you.
Gambit
none