Irc messages not sent if you open a socket.
Brought to you by:
meebey
Hello,
I have a problem with this script.
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!