Skip to content

NET_SDK_SetConnectTime

Interface Definition

1
2
3
BOOL NET_SDK_SetConnectTime(
    DWORD dwWaitTime = 5000,
    DWORD dwTryTimes = 3);
1
2
3
public static extern bool NET_SDK_SetConnectTime(
    UInt32 dwWaitTime = 5000,
    UInt32 dwTryTimes = 3);

Function Description

Set SDK connection parameters.

Parameter Description

Parameters Type Remark
dwWaitTimein DWORD Timeout, in milliseconds, must be greater than 300. The actual maximum timeout is the connect timeout (which varies from system to system), and any time exceeding it is invalid. The default value is 5000
dwTryTimesin DWORD The default value of the connection attempt number is 3.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code