Print this page
6852938 ettcp to be included into SFW consolidation
*** 1,38 ****
ettcp license
--------------------------------------------------------------------------
! Test TCP connection. Makes a connection on port 5001
! and transfers fabricated buffers or data copied from stdin.
- Usable on 4.2, 4.3, and 4.1a systems by defining one of
- BSD42 BSD43 (BSD41a)
- Machines using System V with BSD sockets should define SYSV.
-
- Modified for operation under 4.2BSD, 18 Dec 84
- T.C. Slattery, USNA
- Minor improvements, Mike Muuss and Terry Slattery, 16-Oct-85.
- Modified in 1989 at Silicon Graphics, Inc.
- catch SIGPIPE to be able to print stats when receiver has died
- for tcp, don't look for sentinel during reads to allow small transfers
- increased default buffer size to 8K, nbuf to 2K to transfer 16MB
- moved default port to 5001, beyond IPPORT_USERRESERVED
- make sinkmode default because it is more popular,
- -s now means don't sink/source
- count number of read/write system calls to see effects of
- blocking from full socket buffers
- for tcp, -D option turns off buffered writes (sets TCP_NODELAY sockopt)
- buffer alignment options, -A and -O
- print stats in a format that's a bit easier to use with grep & awk
- for SYSV, mimic BSD routines to use most of the existing timing code
- Modified by Steve Miller of the University of Maryland, College Park
- -b sets the socket buffer size (SO_SNDBUF/SO_RCVBUF)
- Modified Sept. 1989 at Silicon Graphics, Inc.
- restored -s sense at request of tcs@brl
- Modified Oct. 1991 at Silicon Graphics, Inc.
- use getopt(3) for option processing, add -f and -T options.
- SGI IRIX 3.3 and 4.0 releases don't need #define SYSV.
-
- Modified by David Boreham <david@bozemanpass.com>
- to support call back mode
-
Distribution Status -
Public Domain. Distribution Unlimited.
--- 1,11 ----
ettcp license
--------------------------------------------------------------------------
! Copyright (C) 1984 T.C. Slattery, USNA
! Copyright (C) 1985 Mike Muuss and Terry Slattery
! Copyright (C) 1989 Silicon Graphics, Inc.
! Copyright (C) 1989 Steve Miller of the University of Maryland, College Park
! Copyright (C) 1991 Silicon Graphics, Inc.
! Copyright (C) 2002 David Boreham <david@bozemanpass.com>
Distribution Status -
Public Domain. Distribution Unlimited.