• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java socket connection timeout taking more time when running in unix

 
chinmayanand mishra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic