wood burning stoves 2.0*
The moose likes Java in General and the fly likes getAllByName not  working with ip addresses Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getAllByName not  working with ip addresses " Watch "getAllByName not  working with ip addresses " New topic
Author

getAllByName not working with ip addresses

abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
i was trying to use getAllByName with an ip address but it is nor providing an arry if ip addresses
but it is working with names like "yahoo.com" easily and gives an arry of ip addresses as ouput

why ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
The javadocs of that method state that that's its behavior, so you shouldn't be surprised by it.


Ping & DNS - updated with new look and Ping home screen widget
abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
Ulf Dittmer wrote:The javadocs of that method state that that's its behavior, so you shouldn't be surprised by it.


thanks.... please tell me how can i check this in javadocs
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
The javadocs are here: http://download.oracle.com/javase/6/docs/api/
abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
Ulf Dittmer wrote:The javadocs are here: http://download.oracle.com/javase/6/docs/api/


oh , i understood, actually i was confused because of my text book .. thanks again

[Resolved]



 
Consider Paul's rocket mass heater.
 
subject: getAllByName not working with ip addresses
 
Similar Threads
any method for active host
RMI Chat Server Problem
how to get ip address
question regarding server socket if server socket is other machine
Cookies