Generate RTT values

Posted by Jean Gauthier on Stack Overflow See other posts from Stack Overflow or by Jean Gauthier
Published on 2011-01-11T18:18:51Z Indexed on 2011/01/11 22:53 UTC
Read the original article Hit count: 282

Filed under:
|
|

Hi all,

I'm writing a Java applet where I should be able to simulate a connection between two hosts. Hence I have to generate packet round-trip times at random.

These RTTs can go from ~0 to infinity, but are typically oscillating around some average value (i.e. an extremely large or small value is very improbable but possible). I was wondering if anyone had an idea of how I could do this?

Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about math