C# code sample
BS_RET_CODE BS_OpenSocket(const char* ipAddr , int port, int* handle)