]> git.meshlink.io Git - utcp/commit - utcp.c
Always announce the receive window size as the size of the receive buffer.
authorGuus Sliepen <guus@sliepen.org>
Sun, 8 Mar 2020 20:52:23 +0000 (21:52 +0100)
committerGuus Sliepen <guus@sliepen.org>
Sun, 8 Mar 2020 22:49:22 +0000 (23:49 +0100)
commitd6f18182c43287c180e637046c044e8bff5e7064
treed9dbb40a3726f3e63099bb63f55dd81010eb6f86
parentefeb98dd555879d9fa1ec765615fe4a34b8ee438
Always announce the receive window size as the size of the receive buffer.

Since UTCP requires the application to handle incoming in-sequence data
immediately, the start of the receive buffer is always right after the
last ACKed byte, so we can always announce the size of the receive buffer
as the maximum receive window size.
utcp.c
utcp_priv.h