> hello i read a code somewhere on how you can get the
> public ip address from a website such has
> whatismyipaddress.com
>
> does anyone know how to get the ip address via from a
> site like that?
You mean as in "open a URL connection and parse the returned content"?
> hello i read a code somewhere on how you can get the
> public ip address from a website such has
> whatismyipaddress.com
>
> does anyone know how to get the ip address via from a
> site like that?
Note that even once you figure out how to get and parse that data, it won't necessarily be your computer's public IP address. Your computer may not have a public IP address, in which case you'll just get the public IP of the router you're behind.
> u can do it using FTP protocol
> SUCH websites switch to ftp from http and try to
> transfer a temperary file
Dear lord you're an idiot.
I have been reading through your contributions here. They are... something. At any rate you are either a troll or a complete ******* idiot but no matter which please stop.
If you are a troll then troll somewhere else, driving newbies into the ditch is not very funny if you are for real then you need to wake up to the fact that you know far, far, far less about Java than you think. All your posts are filled with factual errors, poor grammar and demonstrate that the very little Java you do know is misunderstood on your part.