Maybe we should change setRecvTimeout to setRecvTimeoutMs to make that clearer?

-Bryan

On Mar 24, 2009, at 9:00 AM, Phillip B Oldham wrote:

Further testing and reading of the source has provided a fix:

$timeout = 10; // in seconds.
$socket = new TSocket($settings['host'], $settings['port']);
$socket->setRecvTimeout($timeout*1000);

Thanks for your help guys!

--
Phillip B Oldham
[email protected]
+44 (0) 7525 01 09 01

Reply via email to