Fixed docu for receive-message, {network,service,protocol}-info

This commit is contained in:
mainzelm 2001-11-08 08:34:32 +00:00
parent 7f8dc7f722
commit 496198e07c
1 changed files with 13 additions and 10 deletions

View File

@ -271,17 +271,17 @@ shutdown/sends+receives\end{code}
\defun {receive-message} {socket length [flags]} {[string-or-\sharpf socket-address]} \defun {receive-message} {socket length [flags]} {[string-or-\sharpf socket-address]}
\dfnix {receive-message!} {socket string [start] [end] [flags]} \dfnix {receive-message!} {socket string [start] [end] [flags]}
{[count-or-\sharpf socket-address]}{procedure} {[count-or-\sharpf socket-address]}{procedure}
{receive-message"!@\texttt{receive-message"!}} {receive-message"!@\texttt{receive-message"!}}
\defunx {receive-message/partial} {socket length [flags]} \defunx {receive-message/partial} {socket length [flags]}
{[string-or-\sharpf socket-address]} {[string-or-\sharpf socket-address]}
\dfnix {receive-message!/partial} {socket string [start] [end] [flags]} \dfnix {receive-message!/partial} {socket string [start] [end] [flags]}
{[count-or-\sharpf socket-address]}{procedure} {[count-or-\sharpf socket-address]}{procedure}
{receive-message"!/partial@\texttt{receive-message"!/partial}} {receive-message"!/partial@\texttt{receive-message"!/partial}}
\defun {send-message} {socket string [start] [end] [flags] [socket-address]} \defun {send-message} {socket string [start] [end] [flags] [socket-address]}
\undefined \undefined
\defunx {send-message/partial} \defunx {send-message/partial}
{socket string [start] [end] [flags] [socket-address]} {count} {socket string [start] [end] [flags] [socket-address]} {count}
\begin{desc} \begin{desc}
For most uses, standard input and output routines such as For most uses, standard input and output routines such as
@ -367,9 +367,9 @@ inspection.
\section{Database-information entries} \section{Database-information entries}
\defun {host-info} {name-or-socket-address} {host-info} \defun {host-info} {name-or-socket-address} {host-info}
\defunx {network-info} {name-or-socket-address} {network-info} \defunx {network-info} {name-or-socket-address} {network-info or \sharpf}
\defunx {service-info} {name-or-number [protocol-name]} {service-info} \defunx {service-info} {name-or-number [protocol-name]} {service-info or \sharpf}
\defunx {protocol-info} {name-or-number} {protocol-info} \defunx {protocol-info} {name-or-number} {protocol-info or \sharpf}
\begin{desc} \begin{desc}
@ -423,4 +423,7 @@ following structure:
aliases ; Alternative names aliases ; Alternative names
number) ; Protocol number)\end{code} number) ; Protocol number)\end{code}
\ex{network-info}, \ex{service-info} and \ex{protocol-info} return
\sharpf if the specified entity was not found.
\end{desc} \end{desc}