Hm... Good call. But you placed an extra "(" after the while

Although, now I have this:
ret = listen(listenS, 5);
do{
clientS = accept(listenS, NULL, NULL);
Sleep(250);
}while (clientS == INVALID_SOCKET && !WM_DESTROY); As soon as I enter that loop, the title of the GUI changes to "Program Not Responding" (stupid microsoft) and I can't do anything with it obviously. But if you're thinkin' the CPU jumps, it stays at 00

If you need, I'll upload a screenshot on what it looks like when I go into that loop...
Thanks and sorry for wasting your time :o