aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes java socket connection timeout taking more time when running in unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java socket connection timeout taking more time when running in unix" Watch "java socket connection timeout taking more time when running in unix" New topic
Author

java socket connection timeout taking more time when running in unix

chinmayanand mishra
Greenhorn

Joined: Nov 28, 2011
Posts: 1
Hi

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
 
 
subject: java socket connection timeout taking more time when running in unix