Unreliable UDP: crashes/freezes when sending at high frequency

@psb777 Couldn't agree with you more.

I think the frustrating part is that I don't perceive any movement. The core supports tcp and udp, and udp does not work as intended. That is a huge amount of functionality down the drain. I also am opposed to resetting the core when the core loses connection with cloud. There must be a more graceful way than stopping execution and starting over. Yes I understand it is only a temporary solution to keep code executing, but temporary becomes permanent all too quick. Many of my projects I am trying to use broadcast and discovery and it is very hard to implement when the boundaries are lost. This means I have to include source ip in the packet itself and I am not sure how many bytes each datagram is. So you have to send the exact same number of bytes for every datagram.

All I see is on waffle that these problems are way on the back burner for UDP under ideas. CFOD when you can't run for more than 15 minutes without a reset is a serious problem and makes the spark core unusable.

2 Likes