extern crate etherdream;
fn main() {
println!("Searching for DAC...");
match etherdream::network::find_first_dac() {
Err(e) => println!("Could not find DAC because of error: {}", e),
Ok(result) => {
println!("Found DAC at IP: {}", result.ip_address);
println!("Broadcast: {:?}", result.broadcast);
}
}
}