Skip to content

NET_SDK_SetReconnect

Interface Definition

1
2
3
BOOL NET_SDK_SetReconnect(
    DWORD dwInterval = 5000,
    BOOL bEnableRecon = TRUE);
1
2
3
public static extern bool NET_SDK_SetReconnect(
    UInt32 dwInterval = 5000,
    bool bEnableRecon = true);

Function Description

Set the SDK reconnection function.

Parameter Description

Parameters Type Remark
dwIntervalin DWORD The reconnection interval is in milliseconds. The default value is 5000.
bEnableReconin BOOL Reconnection switch, TRUE means to turn on reconnection, False means to turn off reconnection, the default value is TRUE.

Return Value

  • type:BOOL

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

Remarks

None

Error Code