netbench is a simple network benchmarking tool. It is designed to be simple to use and to be able to run on a wide variety of platforms.
netbench
$ netbench server [optional host and port -H 127.0.0.1 -p 1234]
$ netbench client <server address>[:port]