R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::RateLimits Struct Reference

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.
 

Detailed Description

Limits on the traffic of one IP address.

Member Data Documentation

◆ connections_per_address

std::uint32_t rtype::RateLimits::connections_per_address = 8

TCP connections open at once from one address.

◆ datagrams_per_second

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).


The documentation for this struct was generated from the following file: