]> git.meshlink.io Git - meshlink/commit
The maximum unreliable packet size is 65535 bytes.
authorGuus Sliepen <guus@meshlink.io>
Sun, 24 May 2020 19:23:13 +0000 (21:23 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sat, 30 May 2020 19:59:30 +0000 (21:59 +0200)
commitf2ffa5a92d66b69767c9225616f19679465a55b0
treecb4b22380bda9faffdc1ae1a917d0329a658bb5c
parente4202fe9a6d2be71523c8fdb7fdfc003b423d7e6
The maximum unreliable packet size is 65535 bytes.

This matches how real UDP works and avoids 16 bit integer overflow.
src/utcp.c
src/utcp_priv.h
test/channels-udp.c