\subsection{VTAP}
\index{vtap}

\topic{NAME}
VTAP (Virtual Wiretap Protocol)

\topic{SPECIFICATION}

\noindent 
VTAP simulates a wiretap by intercepting all messages as they are sent
or received.  

\topic{SYNOPSIS}

\noindent 
VTAP is a virtual protocol that intercepts messages.  It will print
the entire message unless the tap has been disabled.  

\topic{REALM}

\noindent 
VTAP is in the ASYNC realm.

\topic{PARTICIPANTS}

\noindent 
VTAP passes participants to the lower protocols without manipulating
them. 

\topic{CONTROL OPERATIONS}

\begin{description}

\item[{\tt VTAP\_ENABLETAP:}]
Cause the session to print the intercepted message.  
(session only)
\begin{description}
\item[{\rm Input:}] none
\item[{\rm Output:}] none
\end{description}

\item[{\tt VTAP\_DISABLETAP:}]
Cause the session to simply pass along the intercepted message without
printing it.
(session only) 
\begin{description}
\item[{\rm Input:}] none
\item[{\rm Output:}] none
\end{description}

\item[{\tt VTAP\_PRINTHEX:}]
If the tap is enabled, causes the session to print the hex
representation of each byte of the message.
(session only)
\begin{description}
\item[{\rm Input:}] none
\item[{\rm Output:}] none
\end{description}

\item[{\tt VTAP\_PRINTCHARS:}]
If the tap is enabled, causes the session to print the character
representation of each byte of the message.
(session only) 
\begin{description}
\item[{\rm Input:}] none
\item[{\rm Output:}] none
\end{description}

\end{description}

\topic{CONFIGURATION}

\noindent 
VTAP expects to be configured between two ASYNC protocols.

\topic{AUTHOR}

\noindent David C. Schwartz



