BS2_Intialize returns BS2_SDK_ERROR_CANNOT_LISTEN_SOCKET(-103) error 


It was okay until the SDK 2.4.x but the issue happens with SDK 2.5.0 or higher version


The server listening port is duplicated with other program. For example, BioStar 2 SW is using the server port(Device->Server mode) 51212 as default. SDK server port is set to 51212 as well. Since SDK 2.5.0, SDK will be shut down if the listening port is used by another program. 


Change the server port using the API BS2_SetServerPort.