netstat 0.7.0

Cross-platform library to retrieve network sockets information.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use libc::*;

extern "C" {
    pub fn sysctlbyname(
        a: *const c_char,
        b: *mut c_void,
        c: *mut size_t,
        d: *mut c_void,
        e: size_t,
    ) -> c_int;
}