java socket connection timeout taking more time when running in unix
posted 4 years ago
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