1135157Srwatsontcpstream - a simple TCP streaming test tool
2135157Srwatson--------------------------------------------
3135157Srwatson
4135157Srwatsontcpstream generates TCP connections between a 'client' and a 'server'.  The
5135157Srwatsonclient writes a pseudo-random byte stream using varying write sizes.  The
6135157Srwatsonserver then reads the stream and uses the same generator to confirm that the
7135157Srwatsondata is correct.  To run tcpstream, select a seed value (should be the same
8135157Srwatsonfor the client and server), and a port number (also the same for client and
9135157Srwatsonserver).  Typical use might be:
10135157Srwatson
11135157SrwatsonRun the server on port 8080 and use a seed of 100:
12135157Srwatson
13135157Srwatson    tcpstream server 8080 100
14135157Srwatson
15135157SrwatsonNow run the client on a second machine with the server's IP, port 8080, and
16135157Srwatsonseed of 100:
17135157Srwatson
18135157Srwatson    tcpstream client 192.168.10.10 8080 100
19135157Srwatson
20135157Srwatson$FreeBSD: releng/10.2/tools/regression/netinet/tcpstream/README 135157 2004-09-13 16:53:40Z rwatson $
21