Skip to main content

bind

Function bind 

Source
pub fn bind(address: &Bind) -> Result<UnixListener>
Expand description

What: Opens the listening socket. Why: Socket activation hands over a bound socket, which is the normal way; the others serve tests and development runs.

In TS you’d write (pseudocode):

const listener = bind(address)