|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-10 12:21 UTC] sander@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 02:00:01 2025 UTC |
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