Function posish::net::socket_type [−][src]
pub fn socket_type<'f, Fd: AsFd<'f>>(fd: Fd) -> Result<SocketType>
Expand description
getsockopt(fd, SOL_SOCKET, SO_TYPE)
pub fn socket_type<'f, Fd: AsFd<'f>>(fd: Fd) -> Result<SocketType>
getsockopt(fd, SOL_SOCKET, SO_TYPE)