Hi all,

I got a problem when I using socket function in PHP.
After I use fsockopen() to open socket, I send a msg
using fwrite() and receive a msg using fread(), this work fine. However, I
use fwrite() again to send a msg and use
fread() to receive a response msg, it failed.
The sequence of function call is :
fsockopen -> fwrite -> fread -> fwrite -> fread then fail
Why this happen? any method to solve it?
Thx all your kindly help!!!

Keith AY

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to