georgefst / lifx-lan

https://hackage.haskell.org/package/lifx-lan
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Enable configuring port #27

Open georgefst opened 1 year ago

georgefst commented 1 year ago

I'm using this on some of my devices (a NixOS Raspberry Pi and an EndeavourOS desktop), since broadcasting (and thus e.g. device discovery) only seems to be guaranteed to work on open ports, so I have to manually assign one of the ports I've opened.

I want to suss out some of the details though before I merge this. In particular, it's not clear why sends (as opposed to broadcasts) are working at all without setting the port to an open one. And it even seems that broadcasts work when preceded by a send on the same port.