>Have you got any idea what to do when you want to measure the 
>time but not in the loop?
>
>Case: you want to limit the time of reading from an open 
>socket (fread), the other side doesn't answer, you wait and wait...

In C/C++ one can set a network timeout counter before one does
a network call (at least under unix:). If there is no answer
within the count down time a function assigned to the time out
signal will be invoked.

Maybe there are support for this in php, or if not, maybe its
an idea to implement something like that?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to