snstac / pytak

PyTAK is a Python package for rapid TAK integration.
https://pytak.readthedocs.io/en/stable/
Apache License 2.0
156 stars 42 forks source link

fix multicast binding on Windows #40

Closed dB-SPL closed 9 months ago

dB-SPL commented 1 year ago

Windows is only able to bind local IP addresses. This change binds the local IP, and afterwards, it should be added to the multicast group.

There may be a more elegant way to find the local IP, as this one is admittedly pretty ugly.

ampledata commented 1 year ago

Also trying to fix this in #39

dB-SPL commented 1 year ago

🤦 Sorry for the dupe. I saw there had been some changes in the master branch that weren't on PyPI yet, but I didn't even think to check if there was an open PR for the same thing.

ampledata commented 1 year ago

I had to punt on this in 6.0.0, I will try to get to it in the next patch release.