dcsimg
what are the steps InetAddress.getByName() takes to resolve host name.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ashish_Bansal
Posted On:   Tuesday, March 20, 2001 02:26 AM

I work on a win NT workstation in a lan with a proxy.

The statement
InetAddress ia=InetAddress.getByName("www.yahoo.com");

always throws a UnknownHostException. Niether my computer nor the proxy server has a DNS server.The DNS of the ISP is used.

What steps does getByName() takes to connect to the Internet and how to resolve host name in this scenario ?Where can I find info on this on the net.

Re: what are the steps InetAddress.getByName() takes to resolve host name.

Posted By:   Tim_Rohaly  
Posted On:   Monday, May 21, 2001 08:31 PM

About | Sitemap | Contact