posted 18 years ago
Hi Allan,
You can try what Peter was saying, first create an unconnected socket and then specify the timeout while connecting.
The connect method throws a SocketTimeoutException - if the timeout expires before connecting. There is no need for you to wait for 10 mins.
Specifying the timeout at socket creation is not available. I am not aware why they have not specified the timeout value at creation time.
Thanks,<p>Vijay<p>The Hand that gives, Gathers.