Socket.getaddrinfo and IPSocket.getaddress super slow?

Discussion in 'Ruby' started by Glen Holcomb, Sep 12, 2008.

  1. Glen Holcomb

    Glen Holcomb Guest

    [Note: parts of this message were removed to make it a legal post.]

    Anyone know why Socket.getaddrinfo and IPSocket.getaddress take up to 3
    seconds to return when the host doesn't have a record in DNS? Do they even
    use DNS?

    --
    "Hey brother Christian with your high and mighty errand, Your actions speak
    so loud, I can't hear a word you're saying."

    -Greg Graffin (Bad Religion)
     
    Glen Holcomb, Sep 12, 2008
    #1
    1. Advertisements

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. Guest

    super.super.super how?

    Guest, Feb 19, 2005, in forum: Java
    Replies:
    24
    Views:
    11,277
    Darryl Pierce
    Feb 24, 2005
  2. Bernhard Schmidt

    result sorting in socket.getaddrinfo?

    Bernhard Schmidt, Oct 9, 2004, in forum: Python
    Replies:
    0
    Views:
    525
    Bernhard Schmidt
    Oct 9, 2004
  3. Replies:
    1
    Views:
    509
    Gabriel Genellina
    Dec 23, 2006
  4. Thomas Dybdahl Ahle

    Kill thread or at least socket.getaddrinfo

    Thomas Dybdahl Ahle, Mar 26, 2007, in forum: Python
    Replies:
    3
    Views:
    1,703
    Chris Mellon
    Apr 10, 2007
  5. Gillett.Walter
    Replies:
    0
    Views:
    165
    Gillett.Walter
    Apr 18, 2006
  6. Replies:
    9
    Views:
    323
  7. Haze Noc

    IPSocket::getaddress problem

    Haze Noc, Aug 14, 2007, in forum: Ruby
    Replies:
    3
    Views:
    244
    Roger Pack
    Aug 15, 2007
  8. Vladimir Fekete
    Replies:
    10
    Views:
    393
Loading...