From: [EMAIL PROTECTED] Operating system: Slackware 8.0 PHP version: 4.1.2 PHP Bug Type: Sockets related Bug description: Socket_read Problem!
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 bug report at http://bugs.php.net/?id=15985&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15985&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15985&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15985&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15985&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15985&r=support Expected behavior: http://bugs.php.net/fix.php?id=15985&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15985&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15985&r=submittedtwice