Hi people!
How can I declare all about UDP routines inside code module?
I want to create a module called WiFi and I want to put all declarations and events like UDP_PacketArrived inside this module. Is it possible?
Is there another way to check bytes received?
Thanks in advance,
Galbas
The only limitation of code modules is that they don't support events. The events will fire in the activity or service that called the code module (when the object was initialized).
The solution is to delegate the event from the activity to the code module.
Hi Erel!
I understood what you mean about events, but I still with a doubt.
Can I declare UDPSocket inside my code module and the event UDP_PackedArrived in the activity?
Could you send me any example?
Thanks,
Galbas.