8 years, 6 months ago.

Help Please with "EthernetInterface.h" library

Hi, i need an UDP Event Handler structure by using "EthernetInterface.h" library. I have found "onUDPSocketEvent(UDPSocketEvent e)" function in "EthernetNetIf.h". if i use two of them at same code, it causes a complexity. So how can i do UDP Event Handler structure by using "EthernetInterface.h"? If there is no way to do that with simple function (as UDPsocketEvent), Do i should use a "Thread" which is including "always receiving data from udp"?

Be the first to answer this question.