Then, during sleep I disconnect acting on server. When the application try to send the message, it exit from execution without print anything.... OpenSocket(); sleep(5); $str="Something to send"; $sock1->send($str);
In reply to Re^6: Check connection state prior to send data
by Lucas Rey
in thread Check connection state prior to send data
by Lucas Rey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |