Menu

Not reconnecting as it should

Help
2004-02-29
2004-02-29
  • Tim Ballantine

    Tim Ballantine - 2004-02-29

    I am using the latest smartirc and no matter what I do i cannot get it to reconnect after a time out.

    I tried setting:

    $irc->setAutoRetry(FALSE);
    $irc->setAutoReconnect (FALSE);
    $irc->setTransmitTimeout(600);
    $irc->setReceiveTimeout(600);

    But did not work. I even tried what someone else suggested and to call the script after the listen() command. I even die()'d it like:

    $irc->listen();
    $irc->disconnect();
    die();

    So then it would restart (its installed as a service) but it doesnt even die! I ran it in command prompt with debug_all. I controlled a time out, and all it did was stay on the last

    DEBUG_MESSAGEHANDLER: calling internal method "net_smartirc->_event_privmsg"

    It didnt time out, there were no debug messages to say this, or even to say it was trying to reconnect.

     
    • Tim Ballantine

      Tim Ballantine - 2004-02-29

      Whoops, thats:

      $irc->setAutoRetry(TRUE);
      $irc->setAutoReconnect (TRUE);

      (typo)

       

Log in to post a comment.