\subsection{SWP}
\index{swp}

\topic{NAME}
SWP (Sliding Window Protocol)

\topic{SPECIFICATION}

\noindent
L. Peterson and B. Davie. {\it Computer Networks: A Systems Approach}.
Morgan Kaufmann Publishers, San Francisco, CA (1996).

\topic{SYNOPSIS}

\noindent
SWP implements reliable, ordered message delivery using the sliding
window algorithm. It is a message-oriented protocol, rather than a
byte-oriented protocol like TCP.  SWP does not support explicit
connection setup or flow control. (See MSP for these features.) This
implementation of SWP is loosely based on the one given in the book,
but it is much more robust and complete.

\topic{REALM}

\noindent 
SWP is in the ASYNC realm.

\topic{PARTICIPANTS}

\noindent 
SWP removes a pointer to a long (the SWP port number) from the
participant stack.  SWP ports must be less than 0x10000.  If the local
participant is missing, or if the local protocol number is ANY\_PORT,
SWP will select an unused local port.

\topic{CONTROL OPERATIONS}

\begin{description}

\item[{\tt SWP\_SET\_SWS:}]
Sets the sending window size for this session.
\begin{description}
\item[{\rm Input:}] {\tt int sws}
\item[{\rm Output:}] none
\end{description}

\end{description}

\topic{CONFIGURATION}

\noindent {\tt name=swp protocols=ip;}

\topic{AUTHOR}

\noindent
Tim Newsham
