PEAR_ChannelFile::setPort

PEAR_ChannelFile::setPort() – Set the socket number (port) that is used to connect to this channel

Synopsis

require_once '/ChannelFile.php';

void PEAR_ChannelFile::setPort ( integer $port , string|false $mirror = false )

Description

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.

Parameter

integer $port

port number

string|FALSE $mirror

name of the mirror server, or FALSE for the primary server

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Set the file path for xmlrpc or soap (Previous) set the Channel server (Next)
Last updated: Tue, 21 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.