some conversion problems..
I used select() under WINDOWS and it worked just fine:
Total = select(0, &Reader, &Writer, NLL, NULL);
now, I tried to convert my application into UNIX, and noticed the server get stack under this line.
I though maybe it's because of the first parameter?
should it be numOfActiveSockets +1?