View Single Post
Old Apr 29th, 2005, 11:18 AM   #3
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
Unhappy hmmm

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
layer is offline   Reply With Quote