\Header{close.socket}{Close a socket}
\keyword{misc}{close.socket}
\begin{Usage}
\begin{verbatim}
close.socket(socket)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{socket}] A \texttt{socket} object
\end{ldescription}
\end{Arguments}
\begin{Description}
Closes the socket and frees the space in the file descriptor table.  The
port may not be freed immediately.\end{Description}
\begin{Value}
logical indicating success or failure\end{Value}
\begin{Author}
Thomas Lumley\end{Author}
\begin{SeeAlso}
\texttt{\Link{make.socket}}, \texttt{\Link{read.socket}}\end{SeeAlso}

