Peter Saveliev
Peter Saveliev
Thanks for the detailed report, investigating
``` # start mdns In [1]: from mdns.zeroconf import * In [2]: from socket import * In [3]: r = Zeroconf(("127.0.0.1",)) # register own service, just as example In [4]:...
I have to :) So if it doesn't work with python3 now, it should be fixed soon. I didn't touch this package for too long, actually. Maybe, time to revive...
If you have a service record in the cache, you can use request() method to update it. Beside of that, all updates are done asynchronously, so, when something changes, you'll...
Ahha... Right now I can not check it -- but tomorrow for sure will provide you the code (and/or fix the library, depends)
Actually, crypto is required by DNSSEC extensions. So I have just to make this dependency optional.
Yep. Thanks a lot! Will fix it.
So, about pidgin records. If you start pidgin, then mdns: you can use `r.get_service_info('record.name', 'full.pidgin.record.name.')` (just replace strings with what pidgin uses) If you start mdns, then pidgin: pidgin on...
There is a possibility, that the record can be short-term, and will be expired soon. For this short-term records one can use listeners as callbacks: https://github.com/svinota/mdns/blob/master/mdns/zeroconf.py#L1888
Actually, it should return appropriate service record from cache after update. But, obviously, doesn't. Investigating.