Open thed3v1l opened 10 years ago
Hi,
When the socket opens to send and at the same time someone replies, how do we manage that?
Regards
PHP doesn't support threading so probably not. All the code is synchronous so the best you can do is fetch all incoming data between sending messages:
{
$w->sendMessage($to, $text);
while($w->pollMessage());
}
Hello,
I am not able to get the replies while I am sending message to other users.
Is there any way out of this?
Regards