Skip to main content

accept_connections

Function accept_connections 

Source
async fn accept_connections(
    listener: &mut UnixSeqpacketListener,
    path: &Path,
    attach: &SharedContainerAttach,
    token: CancellationToken,
    stop: CancellationToken,
)
Expand description

Accept connections until the container exits, which cancels token, or another listener replaces this one, which cancels stop.