getByName() and getAllByName(0

Discussion in 'Java' started by -, Feb 11, 2005.

  1. -

    - Guest

    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?
    -, Feb 11, 2005
    #1
    1. Advertising

  2. Andrew Thompson, Feb 11, 2005
    #2
    1. Advertising

  3. -

    - Guest

    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.
    -, Feb 11, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    1,677
    John C. Bollinger
    Feb 26, 2004
  2. FB
    Replies:
    3
    Views:
    359
  3. titi

    if and and vs if and,and

    titi, Mar 9, 2007, in forum: VHDL
    Replies:
    4
    Views:
    570
    Mike Treseler
    Mar 11, 2007
  4. Jack Dowson

    Query about method getByName()?

    Jack Dowson, May 16, 2007, in forum: Java
    Replies:
    1
    Views:
    252
    Eric Sosman
    May 16, 2007
  5. saggar
    Replies:
    2
    Views:
    1,320
    lewbloch
    Jun 17, 2011
Loading...

Share This Page