From 3dc41373807a8bd2d0e15f373088d5832f312581 Mon Sep 17 00:00:00 2001 From: Glenn Fiedler Date: Wed, 27 Dec 2023 20:55:35 -0500 Subject: [PATCH] Update README.md Signed-off-by: Glenn Fiedler --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 37aff9a..ca7a55e 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,12 @@ Once you process all acks, clear acks on the endpoint: reliable_endpoint_clear_acks( endpoint ); ``` +Update each endpoint once per-frame, so it keeps track of network connection stats like latency, packet loss and bandwidth sent, received and acked: + +```c +reliable_endpoint_update( endpoint, time ); +``` + When you are finished with an endpoint, destroy it: ```c