Communication API > BS2_SetSSLServerPort

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


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


  • [In] context : Context
  • [In] sslServerPort : SSL server port

Return Value

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