Skip to main content

bind_unix

Function bind_unix 

Source
pub fn bind_unix(path: &str) -> Result<UnixListener>
Expand description

Bind a unix socket for serving, clearing any stale socket file first. Returned separately from the accept loop so the caller can log/act on a successful bind (or propagate the bind error) before the accept thread starts.