Method: PHPCrawler::setConnectionTimeout()



Sets the timeout in seconds for connection tries to hosting webservers.
Signature:

public setConnectionTimeout($timeout)

Parameters:

$timeout int The timeout in seconds, the default-value is 5 seconds.

Returns:

bool 

Description:

If the the connection to a host can't be established within the given time, the
request will be aborted.