Bug #16877 Updated: socket_read() only gets one character (no matter what length set)
| From: | webmaster at red-sub-tech dot ws | Date: | Sat, 27 Apr 2002 18:43:11 +0000 |
| Subject: | Bug #16877 Updated: socket_read() only gets one character (no matter what length set) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6259@lists.php.net to get a copy of this message | ||
ID: 16877
Updated by: webmaster@red-sub-tech.ws
Reported By: webmaster@red-sub-tech.ws
Status: Open
-Bug Type: Unknown/Other Function
+Bug Type: Sockets related
Operating System: Windows 2000 Profesional
PHP Version: 4.2.0
New Comment:
The socket_read() function does not work properly, say I do this:
$text = socket_read($message_socket, 2048);
It will only get 1 character even though I said 2048 characters.
Previous Comments:
------------------------------------------------------------------------
[2002-04-27 14:41:29] webmaster@red-sub-tech.ws
The socket_read() function does not work properly, say I do this:
$text = socket_read($message_socket, 2048);
It will only get 1 character even though I said 2048 characters.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16877&edit=1