Bug #16877 Updated: socket_read() only gets one character (no matter what length set)

From: Date: Sat, 27 Apr 2002 18:57:44 +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-6267@lists.php.net to get a copy of this message
ID: 16877 Updated by: mfischer@php.net Reported By: webmaster@red-sub-tech.ws -Status: Open +Status: Feedback Bug Type: Sockets related Operating System: Windows 2000 Profesional PHP Version: 4.2.0 New Comment: Please include a short, self-contained sample script (it works for me with cvs head). Previous Comments: ------------------------------------------------------------------------ [2002-04-27 14:43:10] 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#6267) next »