netstat2 0.11.2

Cross-platform library to retrieve network sockets information.
Documentation
1
2
3
4
5
6
7
8
bitflags! {
    /// Set of address families.
    #[derive(Debug, Clone, Copy, PartialEq)]
    pub struct AddressFamilyFlags: u8 {
        const IPV4 = 0b00000001;
        const IPV6 = 0b00000010;
    }
}