Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 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"?