-
Is it possible to keep the received datagram buffer alive? This will enable something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This would be tricky to pull off. Currently, datagram buffers (pointers) are directly from the UDP datagrams. We really don't want to hold on to those for any length of time. If we wanted to support an async model, then we'd have to pend the UDP datagrams while we wait for the app to complete the receives. It's doable, but I would first prefer to measure the impact of not doing it (and just copying the data as necessary). |
Beta Was this translation helpful? Give feedback.
This would be tricky to pull off. Currently, datagram buffers (pointers) are directly from the UDP datagrams. We really don't want to hold on to those for any length of time. If we wanted to support an async model, then we'd have to pend the UDP datagrams while we wait for the app to complete the receives. It's doable, but I would first prefer to measure the impact of not doing it (and just copying the data as necessary).