How can I get calls to scoket_read to timeout if the server stops responding? It's not clear exactly what's happening, but occasionally the server simply stops sending data and my php code (client) then sits there waiting endlessly. I know about set_time_limit but I don't want to abandon the entire script, just the reading of data from the server (I can at least give a meaningful error message then, for example). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php