This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
Have you checked out Aspose?
 
subject: java socket connection timeout taking more time when running in unix
 
It's not a secret anymore!