Hi,

Friday, May 14, 2004, 5:21:10 AM, you wrote:
RF> Hi all,

RF> Still encountering some challenges with my socket loop. Basically, I
RF> need this socket client to wait to read incoming data, but if nothing
RF> happens for more than three seconds, I want it to do something, then
RF> return to waiting (for another three seconds). I've got some good help
RF> from Curt and Tom (thanks guys), but there are evidently still issues
RF> with my code. Here's simplified snippet:


you need to use break 2; to exit the while and the do - while or set
$connection = false;

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to