Marks this socket as accepting incoming connections.
impl Socket {
fn listen(&self, backlog: u32) -> Result<(), Errno>
}| Name | Description |
|---|---|
| backlog | The maximum number of pending connection requests. |
When backlog many requests are waiting to be accepted, new requests will automatically be rejected.