A ping utility to baseline Java socket performance expectations.
The dist ant target will produce a zip you can throw at your servers.
The jar produced is runnable, use as illustrated in usage and scripts.
Usage:
java-ping:
no-args this usage
-server [-spin | -block | -select | -selectNow] interface portdefaults: interface = 0.0.0.0 port = 12345
-client [-spin | -block | -select | -selectNow] host port message-size
defaults: host = localhost port = 12345 message-size = 32
Start the server, then the client.
You can bind the server to a particular interface, default is 0.0.0.0(all).
Enjoy.