users@grizzly.java.net

[Q] Connection timeout

From: Simon Trudeau <strudeau_at_bluetreewireless.com>
Date: Tue, 4 Mar 2008 12:29:06 -0500

This might sound basic but I haven't found how :

 

When using connectorHandler.connect(...), how do we specify a timeout?
It seems that the only way to set it is using the
TCPSelectorHandler.setSocketTimeout() and
TCPSeletorHandler.setServerTimeout()?

 

Thanks for the info.

 

Simon