Hi, Friday, May 14, 2004, 9:11:21 AM, you wrote: RF> The script doesn't even get that first "while" condition line. It loops RF> a few times (while receiving messages), then when no more messages are RF> coming from the server, and it times-out, it breaks out of the "while", RF> then returns to the top again, where it that while condition returns RF> the error "Warning: socket_read() unable to read from socket [35]: RF> Resource temporarily unavailable".
Is the remote closing the socket at it's end as the data transmision has ended or is there more expected? If there is more to come I would use non blocking socket and the socket select function in the loop. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php