note 25987 rejected from function.socket-set-timeout by betz

From: Date: Mon, 14 Oct 2002 17:03:24 +0000
Subject: note 25987 rejected from function.socket-set-timeout by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38059@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);

« previous php.notes (#38059) next »