pub struct Accept { /* private fields */ }
Expand description
Accept a new connection on a socket, equivalent to accept4(2)
.
Implementations§
source§impl Accept
impl Accept
pub fn new( fd: impl UseFixed, addr: *mut sockaddr, addrlen: *mut socklen_t ) -> Self
sourcepub const CODE: u8 = 13u8
pub const CODE: u8 = 13u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.