Closed apeng2012 closed 3 years ago
self.send_at(Ping { hostname: hostname, retry_num: 1, })?; while self.dns_state.get() == DNSState::Resolving { self.spin()?; }
If there is no response, the program will loop indefinitely
If there is no response, the program will loop indefinitely