NativeDtlsEngine.setMaxHandshakingPeers

void setMaxHandshakingPeers(size_t limit) @safe pure nothrow @nogc

Set the maximum number of peers in handshake state.

Limits the number of concurrent handshakes to prevent resource exhaustion from connection floods.

Parameters

limitMaximum number of handshaking peers.