xref: /freebsd/tools/regression/netinet/tcpstream/README (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1tcpstream - a simple TCP streaming test tool
2--------------------------------------------
3
4tcpstream generates TCP connections between a 'client' and a 'server'.  The
5client writes a pseudo-random byte stream using varying write sizes.  The
6server then reads the stream and uses the same generator to confirm that the
7data is correct.  To run tcpstream, select a seed value (should be the same
8for the client and server), and a port number (also the same for client and
9server).  Typical use might be:
10
11Run the server on port 8080 and use a seed of 100:
12
13    tcpstream server 8080 100
14
15Now run the client on a second machine with the server's IP, port 8080, and
16seed of 100:
17
18    tcpstream client 192.168.10.10 8080 100
19