2017-05-18 23 views

cevap

3

Kontrol dışarı pnet crate:

extern crate pnet; 

use pnet::datalink; 

fn main() { 
    for iface in datalink::interfaces() { 
     println!("{:?}", iface.ips); 
    } 
}