BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

hostname to IP address lookup

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Dan Miner
Guest





PostPosted: Tue Nov 09, 2004 5:22 am    Post subject: hostname to IP address lookup Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.