I am trying to understand how the protocol works. I am a professional developer. But I am not very familiar with UDP packets.
I tried downloading the LifxNet nuget package. And now I cloned the project and I am running the sample project.
My problem is that packets are going out but I am not getting a response back from my light-bulb. I have a UDP monitor on my phone that allows me to see the packets sent from my computer.
Here is where it’s intriguing for me. The packet sniffer needs a port number to listen, and then it sees packets with a different port number, which are clearly coming from my own phone lifx app, and my computer. But some sources come with a different port number.
If I then set the UDP monitor to that different port. Then I can see the messages coming from my lightbulb.
Is that “other” port something normal on UDP? I don’t see anything about that in the LAN protocol documentation. I feel that if I understand what is going on at the protocol level. I’ll be able to fix the problem.
@dotmorten I’m not getting any reply. Could you post a two line reply?