Ok, any standard value for the size to read per time? Will the total time be faster if a larger maximum size is choosed? -----Original Message----- From: Oli Howson [mailto:oli@xxxxxxxxxxxxxx] Sent: Friday, February 10, 2006 12:10 AM To: php-general@xxxxxxxxxxxxx Subject: Re: socket_read > I want to read the content from a socket that is sending XML. IIRC, you just read in a loop while there's still stuff to read. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php