Skip to main content

set_so_bindtodevice

Function set_so_bindtodevice 

Source
pub fn set_so_bindtodevice(
    sock: BorrowedFd<'_>,
    ifname: &CStr,
) -> Result<(), Errno>
Expand description

Lie le socket à une interface réseau (SO_BINDTODEVICE).