note 65524 added to function.socket-read
| From: | Ronin-php at onabout dot net | Date: | Tue, 02 May 2006 19:06:17 +0000 |
| Subject: | note 65524 added to function.socket-read | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110387@lists.php.net to get a copy of this message | ||
Just a helper for those trying to use sockets to transfer large ammounts of info.
I was pulling my hair out forever trying to figure out why different strings sent by different
socket_writes were getting concatenated by socket_read.
If you have a problem with this, try a sleep(), the delay allows the server to see the difference
(it is able to do one before the next arrives)
----
Server IP: 64.71.164.2
Probable Submitter: 65.122.204.33
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.socket-read.php
Edit -- http://master.php.net/note/edit/65524
Del: integrated -- http://master.php.net/note/delete/65524/integrated
Del: useless -- http://master.php.net/note/delete/65524/useless
Del: bad code -- http://master.php.net/note/delete/65524/bad+code
Del: spam -- http://master.php.net/note/delete/65524/spam
Del: non-english -- http://master.php.net/note/delete/65524/non-english
Del: in docs -- http://master.php.net/note/delete/65524/in+docs
Del: other reasons-- http://master.php.net/note/delete/65524
Reject -- http://master.php.net/note/reject/65524
Search -- http://master.php.net/manage/user-notes.php