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 

WhoIs with delphi 5

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
David Bouffard
Guest





PostPosted: Sat Sep 27, 2003 7:09 pm    Post subject: WhoIs with delphi 5 Reply with quote



Hi,
How can I implement a WhoIs query in my delphi apps?

thanks


Back to top
Dejan
Guest





PostPosted: Sun Sep 28, 2003 5:00 am    Post subject: Re: WhoIs with delphi 5 Reply with quote



1. install indy
2. put tidwhois on form
3. put tmemo on form

memo1.lines.text := idWhois1.WhoIs('borland.com');

you also can do it recursive, search for string 'Whois Server:' and if this
exists do query again on next server, first for dimains is
'whois.internic.net'

for ip query first server is 'whois.ripe.net' and search for sgring
'whois://' to find next server


"David Bouffard" <davidbouffard (AT) sympatico (DOT) ca> wrote

Quote:
Hi,
How can I implement a WhoIs query in my delphi apps?

thanks





Back to top
Dejan
Guest





PostPosted: Sun Sep 28, 2003 5:03 am    Post subject: Re: WhoIs with delphi 5 Reply with quote



I forget to said :

be careful with recursive query, check is query point to actual host, some
whois servers have same string, for example :
if actual host is 'whois.godaddy.com' and in this text exists 'Whois
Server:' server string compare this with actual host. if this is same stop
recursion.

"Dejan" <dejan (AT) ztbclan (DOT) com_no_spam_> wrote

Quote:
1. install indy
2. put tidwhois on form
3. put tmemo on form

memo1.lines.text := idWhois1.WhoIs('borland.com');

you also can do it recursive, search for string 'Whois Server:' and if
this
exists do query again on next server, first for dimains is
'whois.internic.net'

for ip query first server is 'whois.ripe.net' and search for sgring
'whois://' to find next server


"David Bouffard" <davidbouffard (AT) sympatico (DOT) ca> wrote in message
news:3f75e07e (AT) newsgroups (DOT) borland.com...
Hi,
How can I implement a WhoIs query in my delphi apps?

thanks







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock 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.