Dekken Posted October 27, 2010 Share Posted October 27, 2010 Hello, I have a problem with this script: http://sourceforge.net/projects/phpsmartirc/ Piece of code I am having problem with: http://nopaste.php-quake.net/333811 Basically it is supposed to send the $irc->message first, and then open the socket. But what happens is that the socket opens, and only when it closes, it sends the message. And that is a problem because the socket stays open for around 30-40minutes. If I am trying to use echo instead of $irc->message, it works just fine. So seems like there is some kind of a delay in it. Can anyone help me find a solution for this problem? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/216995-smartirc-help-needed-it-wont-send-irc-message-after-i-open-a-socket/ Share on other sites More sharing options...
Dekken Posted October 30, 2010 Author Share Posted October 30, 2010 Really? no one used this one before? can anyone please download the script, and do some testings? I have been stuck on this problem for few days now... Quote Link to comment https://forums.phpfreaks.com/topic/216995-smartirc-help-needed-it-wont-send-irc-message-after-i-open-a-socket/#findComment-1128366 Share on other sites More sharing options...
Dekken Posted November 5, 2010 Author Share Posted November 5, 2010 Come on guys, Please just give me few minutes, and test this script by yourself Quote Link to comment https://forums.phpfreaks.com/topic/216995-smartirc-help-needed-it-wont-send-irc-message-after-i-open-a-socket/#findComment-1130749 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.