1 DWORD WINAPI SockUDP::RecvThread(LPVOID lparam)
{
//套接字
正确:int sock= *(int*)(lparam);
错误:int sock=(int)(*lparam);
return true;
}
1 DWORD WINAPI SockUDP::RecvThread(LPVOID lparam)
{
//套接字
正确:int sock= *(int*)(lparam);
错误:int sock=(int)(*lparam);
return true;
}