documenting

This commit is contained in:
Alex Janka 2024-03-05 10:11:18 +11:00
parent 03a4835ed8
commit 00d515aeb5

View file

@ -60,6 +60,10 @@ impl PythonPairingData {
}
}
// (id, (ip, port))
// id - from TXT record
// ip - from A record
// port - from SRV record
pub type MdnsDiscoveredList = Arc<RwLock<HashMap<String, (String, u16)>>>;
pub fn spawn_discover_thread() -> Result<MdnsDiscoveredList, DiscoveryError> {