|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-16 22:42 UTC] world-soft at freemail dot hu
4.1.2 and 4.2.0 RC4 version: The fsocketopen doesn't return error message when UDP port is not open. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 13:00:01 2025 UTC |
My source: $fp = fsockopen("udp://192.168.0.196",27015, &$errno, &$errstr, 10); echo"$fp"; if (!$fp) { echo "ERROR: $errno - $errstr<br>\n"; } else{ $i=fwrite($fp,"????details\x00"); echo"$i"; $i2 = fread($fp,5); echo"$i2"; ....... fclose($fp); } If 192.168.0.196 doesn't work, $fp=Resource id #1 ; $i=12, but there isn't connection. This values don't show the connection problem. After the calling of the "fread" -> Internet Explorer doesn't load the Site.