NativeDtlsEngine.setMaxPeers
void setMaxPeers(size_t limit) @safe pure nothrow @nogcSet the maximum number of peers.
When this limit is reached, new connections will be rejected or existing peers will be evicted based on LRU policy.
Parameters
limit | Maximum number of peers. |