hi
I use for some time a script to send / receive HTTP requests (socket_create, conenct, write, etc ...) to the stage of reading:
$ reception ='';
while ($ buffer = socket_read ($ socket, 2000)) (
$ reception .= $ buff;
)
So far it worked , but when trying the script with facebook ,10minutes before gives me the warning:
<b> Warning </ b>: socket_read () [<a href='function.socket-read'> function.socket-read </ a>]: unable to read from socket [104]:
Connection reset by peer
Basically I feel that my script does not understand that there's nothing to read.
Someone has a any idea?
Bookmarks