listen

public func listen(Int32, Int32) -> Int32

Wraps listen(2) — marks sockfd as accepting incoming connections.

backlog is the maximum length of the kernel's pending- connection queue; once full, further connect attempts are refused. Returns 0 on success, -1 on error.

Defined in lang/std/net/libc.ks