Get destination ip of udp packet
Posted: Thu Jan 14, 2016 2:39 pm
Hello all,
I need to be able to distinguish between broadcast and direct udp packets for my library, I need to be able to accept or reject broadcast packets.
I'm currently porting across my artnet library from the connected launchpad running off the energia ide. I extended the UDP class to add UDP.destIP() to return the destination ip of the packet. Is there similar functionality in the ESP UDP library already?
Best,
Sol
I need to be able to distinguish between broadcast and direct udp packets for my library, I need to be able to accept or reject broadcast packets.
I'm currently porting across my artnet library from the connected launchpad running off the energia ide. I extended the UDP class to add UDP.destIP() to return the destination ip of the packet. Is there similar functionality in the ESP UDP library already?
Best,
Sol