DtlsEngine.setMaxHandshakingPeers

void setMaxHandshakingPeers(size_t limit)

Sets the maximum peers in handshake state.

Limits amplification attacks using half-open connections. Default: 1000.

Parameters

limitMaximum handshaking peer count.