On 1/23/08 4:11 PM, "Peter Murray" <peter.murray_at_FXALL.com> wrote:
> Erik,
> Can you post your working code?
> There is a grizzly/examples in the SVN tree. Can we start putting
> examples which we develop in this tree or is there another place to
> put "public" examples?
Ok, here's a very simple echo-client. It takes a 100 byte buffer, puts
the current nanoTime in it, pads it out and sends it to an echo server (also
implemented with grizzly).
It reads the return and measures the elapsed time, clears the buffer and
starts over again.
cheers
Erik Svensson, SIX AB