Tperf - The TCP/UDP Bandwidth Measurement Tool

Copyright (c) 2005-2006 Tomohiro Otsuka, All rights reserved.

* About Tperf

Tperf is a very simple TCP/UDP bandwidth measurement tool written
in standard C and UNIX socket API.  Tperf reports bandwidth and UDP
datagram loss.  To download the latest version, please visit the
following site.

  http://www.am.ics.keio.ac.jp/~terry/tperf/

* License

Tperf is free software; you can redistribute and/or modify it under
the modified BSD License.  The complete text of the license can be
found in the COPYING file.

* Installation

To build and install Tperf, please refer to the INSTALL file.

* Usage

Currently there are three running modes in Tperf; server mode, unicast
client mode, and multicast client mode.  The typical procedure to
measure the TCP bandwidth between host1 and host2 is the following:

  host1% tperf -s
  host2% tperf -c <host1's IP address>

There are some options for tuning TCP/UDP parameters, etc.  Please
type `tperf -h' to see the full option list.

The following is an example of UDP multicasting with two servers (host1
and host2) and two clients (host3 and host4), using 65536-bytes receive
socket buffer on each server.

  host1% tperf -s -u -w 65536
  host2% tperf -s -u -w 65536
  host3% tperf -m <filename> -u
  host4% tperf -m <filename> -u

Here the file <filename> should contain IP addresses of host1 and host2.
Please note that the filename "-" means standard input.

* Contact

Please send comments and bug reports to terry@am.ics.keio.ac.jp.
