note 25987 added to function.socket-set-timeout

From: Date: Mon, 14 Oct 2002 16:16:12 +0000
Subject: note 25987 added to function.socket-set-timeout
Groups: php.notes 
Request: Send a blank email to php-notes+get-38057@lists.php.net to get a copy of this message
Hello, the Set_Socket_Timeout() Function won't work for me. I tested it on TCP and UDP Connections. The host is not reachable, i used a dummy adress 211.214.151.23, 128.159.0.1 this adresses were unreachable during my test. I got a Timeout of about ~21 Sekunds from the PHP Console. May i do something wrong with it. $getServerDataTimeout = 10; $fp = fsockopen($host, $port, &$errno, &$errstr, $getServerDataTimeout); socket_set_timeout($fp, $getServerDataTimeout); -- http://www.php.net/manual/en/function.socket-set-timeout.php http://master.php.net/manage/user-notes.php?action=edit+25987 http://master.php.net/manage/user-notes.php?action=delete+25987 http://master.php.net/manage/user-notes.php?action=reject+25987

« previous php.notes (#38057) next »