Property ConnectTimeoutSeconds
Bounded DNS+TCP pre-flight probe timeout in seconds. 0 disables the
probe (rely on OS-level retransmit timeouts — not recommended).
LdapForNet's only caps the LDAP-protocol
exchange after the socket is established; it does NOT bound DNS resolution
nor TCP connect(). On Windows the OS-level SYN retransmit takes ~21 s
for a routed-but-silent destination, which would block login threads on a
downed AD controller. The pre-flight probe ensures we fail fast within this
window. Default: 10.
public int ConnectTimeoutSeconds { get; set; }