Method: PHPCrawler::setStreamTimeout()



Sets the timeout in seconds for waiting for data on an established server-connection.
Signature:

public setStreamTimeout($timeout)

Parameters:

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

Returns:

bool 

Description:

If the connection to a server was be etablished but the server doesnt't send data anymore without
closing the connection, the crawler will wait the time given in timeout and then close the connection.