|
R-Type
Networked shoot'em up built on Aegis2D
|
Limits on the traffic of one IP address. More...
#include </__w/project-rtype/project-rtype/server/include/rtype/rate_limit.hpp>
Public Attributes | |
| std::uint32_t | datagrams_per_second = 300 |
| Datagrams accepted from one address per second, its ports together. | |
| std::uint32_t | connections_per_address = 8 |
| TCP connections open at once from one address. | |
Limits on the traffic of one IP address.
| std::uint32_t rtype::RateLimits::connections_per_address = 8 |
TCP connections open at once from one address.
| std::uint32_t rtype::RateLimits::datagrams_per_second = 300 |
Datagrams accepted from one address per second, its ports together.
4 players behind one address send about 4 × 70 datagrams per second (an Input per tick, plus Heartbeat and Event datagrams).