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.
$port
port number
$mirror
name of the mirror server, or FALSE for the primary server
throws no exceptions thrown
This function can not be called statically.