Document bind-prepare-listen-accept-loop.
This commit is contained in:
parent
da76638c82
commit
a375d4bd1c
|
@ -65,6 +65,15 @@ This procedure does not return, but loops indefinitely accepting
|
|||
connections from client programs.
|
||||
\end{desc}
|
||||
|
||||
\defun {bind-prepare-listen-accept-loop} {protocol-family prepare proc arg} {does-not-return}
|
||||
\begin{desc}
|
||||
Same as \ex{bind-listen-accept-loop} but runs the thunk
|
||||
\var{prepare} after binding the address and before entering the
|
||||
loop. The typical task of the \var{prepare} procedure is to change
|
||||
the user id from the superuser to some unprivileged id once the
|
||||
address has been bound.
|
||||
\end{desc}
|
||||
|
||||
\section{Sockets}
|
||||
|
||||
\defun {create-socket} {protocol-family type [protocol]} {socket}
|
||||
|
|
Loading…
Reference in New Issue