Bug #9100 Updated: problem with UDP
| From: | mfischer@php.net | Date: | Wed, 21 Nov 2001 13:59:52 +0000 |
| Subject: | Bug #9100 Updated: problem with UDP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71210@lists.php.net to get a copy of this message | ||
ID: 9100
Updated by: mfischer
Reported By: jkutej@students.zcu.cz
Old Status: Open
Status: Closed
Bug Type: Sockets related
Operating System: linux
PHP Version: 4.0.4pl1
New Comment:
Actually, this is documented (maybe it wasn't when the report was opened)?
See http://www.php.net/manual/en/function.fsockopen.php:
[...]
If the call fails, it will return FALSE and if the optional errno and errstr arguments are present
they will be set to indicate the actual system level error that occurred on the system-level
connect() call. If the returned errno is 0 and the function returned FALSE, it is an indication that
the error occurred before the connect() call.
[...]
So, it returns only 'system level errors'.
Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-02-04 11:49:48] jkutej@students.zcu.cz
fsocketopen doesn't return error message when UDP port is not open.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=9100&edit=1