Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
LDAP.SetNetworkTimeOut
Sets network timeout value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
LDAP | 6.0 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes, on macOS and Linux | ❌ No |
MBS( "LDAP.SetNetworkTimeOut"; LDAPRef; Timeout ) More
Parameters
Parameter | Description | Example |
---|---|---|
LDAPRef | The reference number for the LDAP connection. | $ldap |
Timeout | The new timeout in seconds. | 5 |
Result
Returns OK or error.
Description
Sets network timeout value.This function sets the socket level timeout.
Value is in seconds. Resolution is in microseconds.
Examples
Sets network timeout:
Set Variable [ $r ; Value: MBS("LDAP.SetNetworkTimeOut"; $ldap; 3) ]
See also
Release notes
- Version 9.2
- Fixed LDAP timeout functions LDAP.GetNetworkTimeOut, LDAP.GetTimeOut, LDAP.SetNetworkTimeOut and LDAP.SetTimeOut.
Blog Entries
This function checks for a license.
Created 18th December 2015, last changed 16th December 2020