G
gimme_this_gimme_that
I'm working on a project where I connect to a remote host using its
name dahdahdah.somesite.com.
The owner of somesite.com has production and development versions of
dahdahdah - and the one you connect to should be determined by your
local hosts file.
I'd like to confirm I'm connecting to the development version.
How do I get the IP address of the machine I'm connecting to?
I'm using Apache's HttpClient package and a GetMethod class - but a
solution that uses only java.net.* would be fine.
Thanks.
name dahdahdah.somesite.com.
The owner of somesite.com has production and development versions of
dahdahdah - and the one you connect to should be determined by your
local hosts file.
I'd like to confirm I'm connecting to the development version.
How do I get the IP address of the machine I'm connecting to?
I'm using Apache's HttpClient package and a GetMethod class - but a
solution that uses only java.net.* would be fine.
Thanks.