CSDN博客

img haiheng

CreateThread(NULL, 0, ClientThread, (LPVOID)sClient, 0, &dwThreadId);//每个客户端创建一个接收线程

发表于2004/10/28 11:11:00  2139人阅读

/*
  *每个客户端创建一个接收线程
  */
        hThread = CreateThread(NULL, 0, ClientThread,
                    (LPVOID)sClient, 0, &dwThreadId);
        if (hThread == NULL)
        {
            printf("CreateThread() failed: %d/n", GetLastError());
            break;
        }
阅读全文
0 0

相关文章推荐

img
取 消
img