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 Sep 17, 2024
1 parent 3e6aa43 commit e3b36b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ for ( int i = 0; i < num_acks; i++ )
}
```

Once you process all acks, clear acks on the endpoint:
Once you process all acks, clear them:

```c
reliable_endpoint_clear_acks( endpoint );
```
And make sure to update each endpoint once per-frame, so it keeps track of network connection stats like latency, packet loss and bandwidth sent, received and acked:
And make sure to update each endpoint once per-frame, so it keeps track of network connection stats like latency, jitter, packet loss and bandwidth:
```c
reliable_endpoint_update( endpoint, time );
Expand Down

0 comments on commit e3b36b3

Please sign in to comment.