php-developer-list | 2001122
Date: 12/20/01
- Next message: sander <email protected>: "[PHP-DEV] Bug #14610 Updated: configure script looks in the wrong place for httpd.h"
- Previous message: Yasuo Ohgaki: "[PHP-DEV] Re: [FRC]Session module related issues"
- In reply to: martin <email protected>: "[PHP-DEV] Bug #14617: socket_recv() arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 14617
User updated by: martin <email protected>
Reported By: martin <email protected>
Old Status: Open
Status: Closed
Bug Type: Sockets related
Operating System: Windows 2000
PHP Version: 4.1.0
New Comment:
Fixed in CVS
Previous Comments:
------------------------------------------------------------------------
[2001-12-20 05:54:17] martin <email protected>
According to http://www.php.net/manual/en/function.socket-recv.php the socket_recv() parameters are as follows:
mixed socket_recv (resource socket, int len, int flags)
An attempt with:
$row = socket_recv($handle, 1024, PHP_NORMAL_READ);
Says Warning: socket_recv() expects exactly 2 parameters, 3 given in xxx on line 103
$row = socket_recv($handle, 1024);
Says Warning: socket_recv() expects parameter 2 to be resource, integer given in xxx on line 103
$row = socket_recv(1024, $handle);
Says Warning: socket_recv() expects parameter 1 to be resource, integer given in xxx on line 103
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14617&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sander <email protected>: "[PHP-DEV] Bug #14610 Updated: configure script looks in the wrong place for httpd.h"
- Previous message: Yasuo Ohgaki: "[PHP-DEV] Re: [FRC]Session module related issues"
- In reply to: martin <email protected>: "[PHP-DEV] Bug #14617: socket_recv() arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

