|
EthernetUDP udpStream = EthernetUDP(40); |
Change suggestion:
EthernetUDP udpStream(40);
This avoids using the copy constructor and instead constructs it in place.
Side question: why a queue size of 40? (I’m curious also if NativeEthernet works fine having no inbound queue.)