cf_client_set_send_rate¶
Category: net
GitHub: cute_networking.h
Caps how many queued message bytes the client pumps into the transport per second.
| Parameters | Description |
|---|---|
client |
The client. |
bytes_per_second |
The budget. 0 (the default) means unlimited. |
Remarks¶
The budget is what makes priorities matter: when messages are queued faster than the budget drains them, high-priority channels keep flowing while bulk waits locally. A message larger than one second's budget still sends, going into "debt" that throttles later sends. Raw cf_client_send packets bypass the budget entirely.
Related Pages¶
cf_client_channel_options
cf_client_send_msg
cf_server_set_send_rate