 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Bouffard Guest
|
Posted: Sat Sep 27, 2003 7:09 pm Post subject: WhoIs with delphi 5 |
|
|
Hi,
How can I implement a WhoIs query in my delphi apps?
thanks
|
|
| Back to top |
|
 |
Dejan Guest
|
Posted: Sun Sep 28, 2003 5:00 am Post subject: Re: WhoIs with delphi 5 |
|
|
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
|
Posted: Sun Sep 28, 2003 5:03 am Post subject: Re: WhoIs with delphi 5 |
|
|
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 |
|
 |
|
|
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
|
|