note 13349 deleted from ref.sockets by jimw
| From: | jimw@php.net | Date: | Fri, 21 Dec 2001 00:33:30 +0000 |
| Subject: | note 13349 deleted from ref.sockets by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23637@lists.php.net to get a copy of this message | ||
I was wondering if anyone has had any trouble setting up a simple listening server in php-4.0.5
running on linux. I have almost exactly the example, none of the commands report errors and the
accept_connect() blocks the system as if it were listening, but it refuses to actually accept
connects. A quick netstat also shows that it is not in fact listening. I've tried several
ports (all above 1024) and the result stays the same.
My only theory is that php4 can't use sockets when it's compiled as a CGI. Any help would
be great.