note 10060 added to accept_connect
| From: | rawb at rawb dot org | Date: | Mon, 11 Dec 2000 08:26:38 +0000 |
| Subject: | note 10060 added to accept_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8607@lists.php.net to get a copy of this message | ||
socket_set_blocking($socket,false); doesn't work with sockets created with socket(), which are
the ones you will want to use here, you HAVE to use set_nonblock($socket) which is a lovely
undocumented function in order to make it do what you want it to do.
http://www.php.net/manual/function.accept-connect.php