note 106825 added to function.socket-last-error
| From: | net at janoszen dot hu | Date: | Fri, 09 Dec 2011 11:53:21 +0000 |
| Subject: | note 106825 added to function.socket-last-error | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184994@lists.php.net to get a copy of this message | ||
You should not use ca at php dot spamtrak dot org's solution, because these constants may vary
across Unix distributions. In MacOS the EPROTOTYPE error has the value 41, not 91. Instead, you
should use the SOCKET_* constants. (eg. SOCKET_EPROTOTYPE) The constants can be found here: http://php.net/manual/en/sockets.constants.php
----
Server IP: 69.147.83.197
Probable Submitter: 80.108.36.10
----
Manual Page -- http://www.php.net/manual/en/function.socket-last-error.php
Edit -- https://master.php.net/note/edit/106825
Del: integrated -- https://master.php.net/note/delete/106825/integrated
Del: useless -- https://master.php.net/note/delete/106825/useless
Del: bad code -- https://master.php.net/note/delete/106825/bad+code
Del: spam -- https://master.php.net/note/delete/106825/spam
Del: non-english -- https://master.php.net/note/delete/106825/non-english
Del: in docs -- https://master.php.net/note/delete/106825/in+docs
Del: other reasons-- https://master.php.net/note/delete/106825
Reject -- https://master.php.net/note/reject/106825
Search -- https://master.php.net/manage/user-notes.php