public __construct ( string $proto = "http", string $path = "localhost", integer $port = 8888, integer $timeout = 1 ) | ||
$proto | string | optional Protocol to use, e.g. http, tcp, udp. Optional. |
$path | string | optional Either a local FS path or hostname/IP for remote. |
$port | integer | optional Port to use if connected to a remote host. |
$timeout | integer | optional How long to wait for reply from the remote end. (seconds) |