Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi There.
When I use net::irc, I make a connection and if the connection takes longer than 1 second to establish, the perl script says unable to connect to server. Does anyone know how to overide this behavior?
Thanks

Replies are listed 'Best First'.
Re: Connection time out with net::irc
by zakzebrowski (Curate) on Sep 19, 2001 at 07:34 UTC
    Check to see your dns is set up correctly, if it isn't then it won't work.

    ----
    Zak
      (If domain name resolution (DNS) is the problem). Try using the numerical ip address for the IRC server and see if that works.


      - yo tengo mas que aprender
Re: Connection time out with net::irc
by zakzebrowski (Curate) on Sep 21, 2001 at 19:02 UTC
    Also, if you are on ulnix, you might have to comment out in conneciton.pm the "bind" lines of code.

    ----
    Zak