Ethernet icon indicating copy to clipboard operation
Ethernet copied to clipboard

UDP_TX_PACKET_MAX_SIZE used only in UDPSendReceiveString.ino example as size of RX buffer

Open JAndrassy opened this issue 5 years ago • 1 comments

UDP_TX_PACKET_MAX_SIZE in Ethernet.h is some forgotten define. The only current use is in the UDPSendReceiveString example for the size of the receive buffer. 24 is really not enough there. It causes confusion. https://stackoverflow.com/questions/57467523/arduino-ethernet-shield-not-receiving-udp-packets-correctly

JAndrassy avatar Aug 13 '19 14:08 JAndrassy

Confirmed. Constant UDP_TX_PACKET_MAX_SIZE should be moved to the example. @jandrassy you should create a pull request.

Rotzbua avatar Aug 13 '19 16:08 Rotzbua