enableStunNatDetection property

bool enableStunNatDetection
getter/setter pair

Whether the host asks two STUN servers whether its NAT maps UDP like a cone or like a symmetric NAT (see StunNatTypeProbe), at start and every 10 minutes. Off by default, because it contacts the STUN servers in stunServers (Google's when null). The result is published as EvtNATDeviceTypeChanged; with a symmetric NAT, a hole punch makes one attempt instead of three.

Implementation

bool enableStunNatDetection = false;