getByName() and getAllByName(0

?

-

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?
 
?

-

Andrew said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top