-->
Page 5 of 6

Re: UDP Multicast Server example (now working OK)

PostPosted: Mon Dec 25, 2017 8:05 am
by dannybackx
Thanks for confirming. I can get it to work between two ESPs with that sample code and my Linux PC. Now integrating this with my app.

I need to change <WiFiUDP.h> to <WiFiUdp.h> . Does anyone know why ?

Danny

Re: UDP Multicast Server example (now working OK)

PostPosted: Mon Dec 25, 2017 10:45 am
by rudy
I need to change <WiFiUDP.h> to <WiFiUdp.h> . Does anyone know why ?


The file is WiFiUdp.h but I am still able to use WiFiUDP.h when I compile. I have different programs, some with each.

Re: UDP Multicast Server example (now working OK)

PostPosted: Mon Dec 25, 2017 5:35 pm
by martinayotte
rudy wrote:The file is WiFiUdp.h but I am still able to use WiFiUDP.h when I compile. I have different programs, some with each.

That is maybe true for those on Windows, since this OS isn't case sensitive, but it won't work on any other OS such Linux or MacOS which are strict about case sensitiveness.
Better keep the real name all the time ...

Re: UDP Multicast Server example (now working OK)

PostPosted: Tue Dec 26, 2017 4:43 am
by dannybackx
Thanks again for the confirmation that the technology works.

I've now been able to find and fix the bugs in my own code, and have a working implementation for nodes to multicast to discover each other.
See https://github.com/dannybackx/espalarm/ ... /Peers.cpp (and the .h file).