为什么这ZeroMemory(&socketAddress, sizeof(Connection::socketAddress));
行得通,但这行不通?
ZeroMemory(&Connection::socketAddress, sizeof(Connection::socketAddress));
我收到此错误:error C2664: 'memset' : cannot convert parameter 1 from 'sockaddr_in Connection::* ' to 'void *'