* Thus wrote Randy L Johnson Jr ([EMAIL PROTECTED]): > > I have the program downloading the data and all that so I don't need help > with that. I just want to be able to reun the function if the data stops > or in more general a certain condition is met.
I'm not entirely sure how you are reading the data in from the socket but your condition is when there is no data that came back from the socket. This function might be usefull: http://php.net/stream_set_timeout Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php