| View previous topic :: View next topic |
| Author |
Message |
Roger Moore Guest
|
Posted: Tue Feb 24, 2004 6:50 am Post subject: Retrieve IP address from domain name |
|
|
Hello,
How do I retrieve the ip address from the domain name? Is there a way to
retrieve the ip address using Indy?
Any help would be very much appreciated.
Thanks in advance,
Roger
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Tue Feb 24, 2004 7:27 am Post subject: Re: Retrieve IP address from domain name |
|
|
"Roger Moore" <nospam (AT) nospam (DOT) com> wrote in news:403af421
@newsgroups.borland.com:
| Quote: | How do I retrieve the ip address from the domain name? Is there a way to
retrieve the ip address using Indy?
|
Look in GStack, there is a function to get the IP from a name.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Got Indy? Got the book?
http://www.atozed.com/indy/book/
|
|
| Back to top |
|
 |
Cruxy Guest
|
Posted: Tue Feb 24, 2004 7:36 am Post subject: Re: Retrieve IP address from domain name |
|
|
| Quote: | How do I retrieve the ip address from the domain name? Is there a way
to retrieve the ip address using Indy?
|
Maybe using "DNS Resolver", but I'd use gethostbyname() from WinSock 2.
|
|
| Back to top |
|
 |
|