Communication API > BS2_SetSSLServerPort


BS2_SetSSLServerPort

Sets the SSL server port. If you set as 0, port is not open.

Declaration

#include "BS_API.h"
 
int BS2_SetSSLServerPort(void* context, BS2_PORT sslServerPort); 

Parameter

Return Value

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