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