extern crate libmdns; fn main() { let responder = libmdns::Responder::new().unwrap(); let _svc = responder.register( "_http._tcp".to_owned(), "Remarkable Web UI (beta)".to_owned(), 80, &["path=/"]); loop { ::std::thread::sleep(::std::time::Duration::from_secs(10)); } }