diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-06-07 12:20:41 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-08 16:06:15 -0700 |
| commit | 150116df53017c449e58ef7022fc08eea086ae75 (patch) | |
| tree | 3ca18985bc0b8388017093025ce80cbaf9f26b66 /src/platform | |
| parent | f16a78fdfbd264c998c4abe9ab4398babb4b01a9 (diff) | |
| download | nng-150116df53017c449e58ef7022fc08eea086ae75.tar.gz nng-150116df53017c449e58ef7022fc08eea086ae75.tar.bz2 nng-150116df53017c449e58ef7022fc08eea086ae75.zip | |
UDP: Signficant refactoring and simplification.
This work is inspired by the DTLS work, and harmonizes the UDP implementation
with DTLS somewhat.
This should make it more resilient to failures, although there is no longer any
attempt to guard against sequencing (reorders, dupes) errors. Applications that
need such protection should either add it themselves, or use a transport which
provides that guarantee (such as TCP). Note that with devices and and such in
the way, such guarantees have never been perfect with SP anyway.
The UDP transport header sizes for this are now just 8 bytes (beyond the UDP header
itself.
Diffstat (limited to 'src/platform')
0 files changed, 0 insertions, 0 deletions
