Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > getByName() and getAllByName(0

Reply
Thread Tools

getByName() and getAllByName(0

 
 
-
Guest
Posts: n/a
 
      02-11-2005
getAllByName(String host) and getByName(String host) of the InetAddress
class return an array and a record respectively.

both does the same thing i presume and only differs in the return type.
therefore, which record does the getByName(..) return? the first, last,
random record?
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      02-11-2005
On Fri, 11 Feb 2005 13:59:50 +0800, - wrote:

> ..which record does the getByName(..) return? the first, last,
> random record?


What happened when you tried it? Where is your test source?

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
 
Reply With Quote
 
 
 
 
-
Guest
Posts: n/a
 
      02-11-2005
Andrew Thompson wrote:

> What happened when you tried it? Where is your test source?


i just realised that ip address cannot be 'trusted' to identify a unique
user. hence, i am not using it.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if and and vs if and,and titi VHDL 4 03-11-2007 05:23 AM



Advertisments