 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dan Miner Guest
|
Posted: Tue Nov 09, 2004 5:22 am Post subject: hostname to IP address lookup |
|
|
I am a complete Delphi newbie and I've been punished enough by Delphi's help
system. I just want a simple set of Classes or routines that will lookup a
hostname and get its IP address via DNS or the system resolver. A pointer
to converting the IP address into a string would be helpful too.
Any clues and/or bones for me?
pseudo code for what I'm looking for.
hostname := 'google.com';
textDisplay.Text := IPAddrToString(Resolver.resolve(hostname));
I just want to get the IP address and display it. Any help would be
appreciated!
TIA,
Dan
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|