PEAR_ChannelFile::getPort

PEAR_ChannelFile::getPort()

PEAR_ChannelFile::getPort()  -- retrieve the socket port used to connect to the server

Description

web services are served through http servers, and so most servers use port 80. This function can be used to determine if a non-standard port is in use at a channel.

Parameter

mixed $mirror

Mirror name or FALSE for primary server

Return value

returns port number to connect to

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.