pub unsafe fn accept4_raw(
fd: &impl AsRawFd,
addr: *mut u8,
addr_len: *mut isize,
flags: i32,
) -> Result<OwnedFd>Expand description
Accepts a connection on a socket.
ยงSafety
addr must be a NULL pointer or a pointer to a struct sockaddr like structure. If addr is
a NULL pointer, then addr_len must be a NULL pointer as well. Otherwise, it should be a
pointer to an isize containing the size of the structure that addr points to.