-->
Page 1 of 1

listening on two udp ports with arduino IDE

PostPosted: Wed Sep 27, 2017 2:46 am
by Simon_lacool
hello,
i have a silly question:
is it possible to listen two UDP ports, for example 4210 and 4212?

I thaught I just have to declaire two WiFiUDP objects like Udp1 and Udp2 and then Udp1.begin(4210); Udp2.begin(4212);
but for some reason it does not work...
any ideas?

Thank you!