java socket connection timeout taking more time when running in unix
902524Nov 28 2011 — edited Dec 1 2011Hi
i have a code which uses Socket(ipaddress,port) constructor where we give ip and port.
when ever the ip port is not rechable its taking around 3 mins to time out when run in unix environment where as same thing is getting time out instantly in eclipse.
Please help me out with the same is there something explicitly mentioned in the unix env which takes more time to timout of socket connection
And just to add in the unix we have used glassfish server if the timeout not mentioned in unix then is it in the server level.