[][src]Function netstat2::get_sockets_info

pub fn get_sockets_info(
    af_flags: AddressFamilyFlags,
    proto_flags: ProtocolFlags
) -> Result<Vec<SocketInfo>, Error>

Retrieve sockets information as a vector. Short-circuits on any error along the way.