Less Windowsy

This commit is contained in:
CTurt 2014-12-08 17:36:43 +00:00
parent 3e02d05e25
commit 30fe81cd56

View file

@ -48,7 +48,8 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow)
startListening();
while(1) {
ZeroMemory(buffer, sizeof(struct packet));
//ZeroMemory(buffer, sizeof(struct packet));
memset(&buffer, 0, sizeof(packet));
while(receiveBuffer(sizeof(struct packet)) <= 0) {
// Waiting