Open nevercast opened 5 years ago
Thanks for the suggestion. As I mentioned in my first reply to #1 the main goal with slimDNS is minimal memory footprint when run on micropython, so I've been trying to avoid adding extra code like this. That said, if there is genuine interest in a version that runs on other platforms then I can look into it.
My primary motivation was the simplicity of the design (read: lightweight), being able to test on Windows would allow me to validate if its the right thing that I need, as well as use it to detect micropython devices asking the question part of the server.
While effort has been made to support running outside of micropython, some non-standard functions are still used.
I've stubbed them like so:
Then used
ticks_diff()
andticks_ms()
instead oftime.ticks_diff()
andtime.ticks_ms()
respectively.I believe this is correct, you may want to verify ticks_diff's polarity.