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