aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-10-05 18:34:36 -0700
committerGarrett D'Amore <garrett@damore.org>2024-10-05 18:34:36 -0700
commitf89f8f57d452bbc3688f96bf8f84f1c2509eb36d (patch)
tree7128844522145c1ad7f8e8c6c3d5e9bf825812db /src/core/socket.c
parentdefc7bf583753444851cb651466d91240fa4fbc8 (diff)
downloadnng-f89f8f57d452bbc3688f96bf8f84f1c2509eb36d.tar.gz
nng-f89f8f57d452bbc3688f96bf8f84f1c2509eb36d.tar.bz2
nng-f89f8f57d452bbc3688f96bf8f84f1c2509eb36d.zip
fixes #168 UDP transport
This is the initial implementation of UDP transport. It does in order guarantees (and consequently filters duplicates), but it does not guarantee delivery. The protocol limits payloads to 65000 bytes (minus headers for SP), but you really want to keep it to much less -- probably best for short messages that within a single MTU to avoid IP fragmentation and reassembly. This is unicast only for now (although there are plans for some support for multicast and broadcast as well as being able to perform automatic mesh building, but that will be in following work. Additional tunables are coming. This is only lightly tested at this point, and should be considered experimental. Its also undocumented.
Diffstat (limited to 'src/core/socket.c')
0 files changed, 0 insertions, 0 deletions