Menu

Problem trying to use Real Socket

Help
2004-11-24
2013-04-09
  • Tiago Fischer

    Tiago Fischer - 2004-11-24

    Im verify modules:

    $ php -m
    [PHP Modules]
    ...
    sockets
    ...

    and exec script whit $irc->setUseSockets(TRUE);

    $ php mybot.php
    X-Powered-By: PHP/4.1.2
    Content-type: text/html

    Nov 25 17:36:58 SmartIRC.php(681) benchmark started
    Nov 25 17:36:58 SmartIRC.php(482) DEBUG_CHANNELSYNCING: Channel syncing enabled
    Nov 25 17:36:58 SmartIRC.php(1203)
    Nov 25 17:36:58 SmartIRC.php(825) DEBUG_CONNECTION: connecting
    Nov 25 17:36:58 SmartIRC.php(830) DEBUG_SOCKET: using real sockets
    Nov 25 17:36:58 SmartIRC.php(859) DEBUG_CONNECTION: connected
    Nov 25 17:36:58 SmartIRC.php(984) DEBUG_CONNECTION: logging in
    Nov 25 17:36:58 SmartIRC.php(1524) DEBUG_IRCMESSAGES: sent: "NICK CreuZa"
    Nov 25 17:36:58 SmartIRC.php(1524) DEBUG_IRCMESSAGES: sent: "USER frikabot 0 * :flyckerBot v1.5"

    and still waiting forever...
    Whats the problem?

     
    • Tiago Fischer

      Tiago Fischer - 2004-11-24

      The b0t never receive something from server... but if setUseSockets(FALSE) is work perfect.

      Help?

       

Log in to post a comment.