|Subject:||Re: to get the IP through a URL|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Mon, 9 Oct 2006|
"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
> I have a URL and I need to know the IP address of this
> URL, how to make this with indy components.
Look at the TIdDNSResolver component. Pass it only the domain portion of
the URL, not the entire URL. So, if you have a URL of
http://www.someserver.com/folder/whatever", you would pass only
"www.someserver.com" to TIdDNSResolver. You can use the TIdURI class to
break up a URL into its individual pieces.
to get the IP through a URL posted by Alexandre on Mon, 9 Oct 2006