1 DWORD WINAPI SockUDP::RecvThread(LPVOID lparam)
{
//套接字
正确:int sock= *(int*)(lparam);
错误:int sock=(int)(*lparam);
return true;
}
时间: 2024-11-05 15:17:48
1 DWORD WINAPI SockUDP::RecvThread(LPVOID lparam)
{
//套接字
正确:int sock= *(int*)(lparam);
错误:int sock=(int)(*lparam);
return true;
}