.th TcpAbort III 4/21/86
.sh "NAME"
TcpAbort - abort a TCP connection
.sh "C SYNOPSIS"
.nf
 int         Loc_Name;
 int         stat;
 . . .
 stat = TcpAbort (Loc_Name);
.fi
.sh "DESCRIPTION"
The TcpAbort primitive is used to abort a TCP connection.
.s3
The Loc_Name parameter is the local connection name associated with a
specific TCP connection.  This identifier was returned from a
previously successful TcpOpen primitive call to establish the
connection.
.s3
A special TCP-level RESET message will be generated to the remote TCP
to force the termination of the connection regardless of its present
state.  All further TCP service requests associated with this
connection will be rejected.
.sh "EXCEPTIONS"
TcpAbort
returns the following error codes:
.lp 10 0
.nf
XtcpOK    (0)      Successful
XtcpNoX   (3)      Non-existent TCP Daemon
XtcpNoNSS (6)      Non-existent TCP Connection
.fi
.i0
.sh "FILES"
.nf
/ksb/include/tcp.h     TCP Interface Definitions for C
/ksb/lib/TCP.a   TCP Interface Library for C
.fi
.sh "SEE ALSO"
TcpOpen (III)

