Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Fiedler <glenn@networknext.com>
  • Loading branch information
gafferongames authored Dec 27, 2023
1 parent 0875735 commit 1ffe3f0
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 @@ -19,10 +19,10 @@ Reliable is designed to operate with your own network library and your own socke
To use reliable, create an endpoint:

```c
double time = 0.0; // time in seconds

struct reliable_config_t config;

reliable_default_config( &config );

config.max_packet_size = 32 * 1024; // maximum packet size that may be sent in bytes
config.fragment_above = 1200; // fragment and reassemble packets above this size in bytes
config.max_fragments = 40; // maximum number of fragments a packet may be broken up into
Expand Down

0 comments on commit 1ffe3f0

Please sign in to comment.