Function netstat::get_sockets_info[][src]

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

Returns a vector of active sockets of specified address families and protocols.