[][src]Function uapi::recvfrom

pub fn recvfrom<'a, B: Pod + ?Sized, A: SockAddr + ?Sized>(
    sockfd: c_int,
    buf: &'a mut B,
    flags: c_int,
    addr: &mut A
) -> Result<(&'a mut [u8], usize)>

recvfrom(2)

Returns the message bytes and the size of the address.