Method: PHPCrawler::setPort()



Sets the port to connect to for crawling the starting-url set in setUrl().
Signature:

public setPort($port)

Parameters:

$port int The port

Returns:

bool 

Description:

The default port is 80.

Note:$cralwer->setURL("http://www.foo.com");
$crawler->setPort(443);

effects the same as$cralwer->setURL("http://www.foo.com:443");