ID: 9100
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to