note 31008 added to function.socket-accept
| From: | Mark at rack1 dot php dot net | Date: | Sun, 06 Apr 2003 17:46:55 +0000 |
| Subject: | note 31008 added to function.socket-accept | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46285@lists.php.net to get a copy of this message | ||
Re diogo's simple server: The code shown probably won't work as is since it's trying
to accept connections using a socket that is not yet listening for them. Additionally, it is calling
listen on a NULL variable, but that's probably just a $mysock / $socket typo.
--
http://www.php.net/manual/en/function.socket-accept.php
http://master.php.net/manage/user-notes.php?action=edit+31008
http://master.php.net/manage/user-notes.php?action=delete+31008
http://master.php.net/manage/user-notes.php?action=reject+31008