Skip to main content

serve_daemon_inetd

Function serve_daemon_inetd 

Source
pub fn serve_daemon_inetd<R: Read, W: Write>(
    input: R,
    output: W,
    opts: &DaemonOptions,
    peer: Option<SocketAddr>,
) -> Result<Outcome, ServerError>
Expand description

--inetd: serve exactly one connection on input/output. peer is the remote address when the CLI could read it from the inherited socket.