Re: socket_read ()
| From: | Marek Kilimajer | Date: | Tue, 27 May 2003 12:17:13 +0000 |
| Subject: | Re: socket_read () | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149093@lists.php.net to get a copy of this message | ||
Set nonblocking mode on the socket
Thomas Weber wrote:
Hi, is there any possibility to timeout a socket_read ()? My Scripts gets HTTP-Header-Data from a browser, wich is normally sent completely in the first socket_read, but some Versions of Mozilla don't send everything at once, but require a second socket_read. If an other browser connects, there is no data to read at the second time and the read blocks forever. Thomas 'Neo' Weber --- thomas@youngarts.org neo@gothic-chat.de