socket2::sys

Function bind

Source
pub(crate) fn bind(fd: c_int, addr: &SockAddr) -> Result<()>