Re: UDP endurance Problem harmony2.06/mplabx5.05
☼ Best Answerby balakumaran 2019/05/20 20:33:11
Opening and closing a socket for every transmission is something that's highly inefficient and should be avoided - opening a socket is an expensive operation. Plus it may create heap memory fragmentation, depending on what type of heap you use.
Just open the socket and transmit/receive data with it until you're done.
This is how it's intended to be used.