documenting
This commit is contained in:
parent
03a4835ed8
commit
00d515aeb5
|
@ -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 type MdnsDiscoveredList = Arc<RwLock<HashMap<String, (String, u16)>>>;
|
||||||
|
|
||||||
pub fn spawn_discover_thread() -> Result<MdnsDiscoveredList, DiscoveryError> {
|
pub fn spawn_discover_thread() -> Result<MdnsDiscoveredList, DiscoveryError> {
|
||||||
|
|
Loading…
Reference in a new issue