Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2919

Re: java in a high latency network

From Knute Johnson <eternal@knutejohnson.com>
Newsgroups comp.lang.java.help
Subject Re: java in a high latency network
Date 2014-03-04 19:08 -0800
Organization A noiseless patient Spider
Message-ID <lf64g9$ser$1@dont-email.me> (permalink)
References <29edeb3a-1fe8-4d31-bf62-82493e18b9a3@googlegroups.com>

Show all headers | View raw


On 3/4/2014 10:12, xeon Mailinglist wrote:
> I am using a program that transfer files between the hosts. My
> problem is that the network between these hosts have a high latency
> (> 1sec), and sometimes my programs launch a error of
> "java.net.NoRouteToHostException: No route to host; ".
>
> I think this problem happens because of the latency. There is a way
> to configure the JVM for networks with high latency so that the time
> to try to connect to a remote host is longer?
>
> Thanks,
>

I would expect a timeout and a ConnectException not a 
NoRouteToHostException with a high latency.  The latter implies 
something blocking the connection as opposed to not accepting a 
connection.  Can you create an example that would cause the 
NoRouteToHostException with a response delay?

-- 

Knute Johnson

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

java in a high latency network xeon Mailinglist <xeonmailinglist@gmail.com> - 2014-03-04 10:12 -0800
  Re: java in a high latency network Knute Johnson <eternal@knutejohnson.com> - 2014-03-04 19:08 -0800
  Re: java in a high latency network Roedy Green <see_website@mindprod.com.invalid> - 2014-03-05 15:57 -0800
    Re: java in a high latency network eric@invalid.com (EricF) - 2014-03-07 03:25 +0000

csiph-web