PEAR_ChannelFile::setPort()
PEAR_ChannelFile::setPort()
-- Set the socket number (port) that is used to connect to this channel
概要
require_once '/ChannelFile.php'; |
void
PEAR_ChannelFile::setPort
(integer
$port, string|false
[$mirror = FALSE])
説明
As web services connect to channels through web servers, this can be used to set the
port that should be used to connect. Default is 80 for regular webservers, and 443 for
SSL secure servers.
パラメータ
- integer
$port
port number
- string|FALSE
$mirror name of the mirror server, or FALSE for the primary server
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。