Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Fiedler <[email protected]>
  • Loading branch information
gafferongames authored Dec 28, 2023
1 parent 79f083a commit 3dc4137
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dc4137

Please sign in to comment.