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.
9 years, 10 months ago.
What exactly is Net::poll() for?
I have been toying with the UDPSocketExample program to continuously send UDP packets to a listening server. I have found that before each packet I send, I have to do a Net:poll(); otherwise the packet doesn't make it. What exactly is poll() doing and is there a way to get around having to call it each time? I am running in to some issues with lost packets due to delays and am wondering if poll is using taking too much time to execute.
Thanks