note 17215 added to function.fsockopen

From: Date: Thu, 29 Nov 2001 23:58:49 +0000
Subject: note 17215 added to function.fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-21459@lists.php.net to get a copy of this message
I have been having a problem checking wether a UDP connection is up since fsocopen() always returns a resource id to $fp even though the IP doesnt exist. So I cant use if(!$fp) to check if connection was successful. How do I do this??? -- http://www.php.net/manual/en/function.fsockopen.php http://master.php.net/manage/user-notes.php?action=edit+17215 http://master.php.net/manage/user-notes.php?action=delete+17215 http://master.php.net/manage/user-notes.php?action=reject+17215

« previous php.notes (#21459) next »