socket2::sys

Function socket_from_raw

Source
pub(crate) unsafe fn socket_from_raw(socket: c_int) -> TcpStream