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