Accepts a new connection on the socket.
impl Socket {
fn accept(&self, flags: SockFlags) -> Result<Socket, Errno>
}| Name | Description |
|---|---|
| flags | The flags that will be set on the returned socket. |
The flags argument will be used to construct the new socket, similar to how they are used in the constructors of the socket type.