php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9100 problem with UDP
Submitted: 2001-02-04 11:49 UTC Modified: 2001-11-21 08:59 UTC
From: jkutej at students dot zcu dot cz Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jkutej at students dot zcu dot cz
New email:
PHP Version: OS:

 

 [2001-02-04 11:49 UTC] jkutej at students dot zcu dot cz
fsocketopen doesn't return error message when UDP port is not open.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-21 08:59 UTC] mfischer@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC