This may or may not be an issue with the way I'm using zeroconf (may be my version of Cython if it uses that), because the problem seems to appear and vanish according to the issue here: python-zeroconf/python-zeroconf#1055
I have tried some different ways of using it here: https://github.com/Hierosoft/python-openlcb/tree/zeroconf-windows11-fix, but made no progress yet.