Help Set Proxy connection timeout

Hi,

I'm currently using: mysock.connect(sockaddr, 2000);

to set socket connection timeout.

Everything works fine until i set a proxy:

System.setProperty("socksProxySet", "true");

System.setProperty("socksProxyHost", "proxy");

System.setProperty("socksProxyPort", "port");

Can i also set connection timeout for the proxy?

Message was edited by:

Robotto

[414 byte] By [Robottoa] at [2007-11-26 13:06:46]
# 1
> Everything works fine until i set a proxy:are you not able to connect to the server? Whats the issue?
AjaySingh516a at 2007-7-7 17:16:00 > top of Java-index,Core,Core APIs...
# 2
You shouldn't need a connect timeout to your own SOCKS proxy actually.
ejpa at 2007-7-7 17:16:00 > top of Java-index,Core,Core APIs...