Communication API > BS2_GetSocketSSLRetryCount


BS2_GetSocketSSLRetryCount

[+ 2.9.1] During SSL socket communication, if an error occurs while reading and writing packets from the socket in the communication section, the SDK automatically retries a certain number of times.
This API gets the set value for the number of retries set in the SDK.

Declaration

#include "BS_API.h"
 
int BS2_GetSocketSSLRetryCount(void* context, uint32_t* count);

Parameter

Return Value

If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned.

See Also

BS2_SetSocketSSLRetryCount