Bug #15985 Updated: Socket_read Problem!

From: Date: Sun, 10 Mar 2002 17:21:32 +0000
Subject: Bug #15985 Updated: Socket_read Problem!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2159@lists.php.net to get a copy of this message
ID: 15985 Updated by: sander@php.net Reported By: pdesjardins@kamitech.com -Status: Open +Status: Bogus Bug Type: Sockets related Operating System: Slackware 8.0 PHP Version: 4.1.2 New Comment: The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: ------------------------------------------------------------------------ [2002-03-10 12:18:41] pdesjardins@kamitech.com Hi customer support Why that code hang after a socket_read? There is no timeout for the socket and it does not stop reading. This is causing an endless loop! while(($buf = socket_read($market_sock, 2048)) !== false) $response .= $buf; I just need the best way to read on a blocking port? Thanks Patrick Desjardins ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15985&edit=1

« previous php.bugs (#2159) next »