Hi Marcel, FD_SET is a C macro function that happens to work in C++. >any opinions? or did i miss something? Yes: #undef the FD_SET macro function, and create the C++ equivalent that complies to the rigorous settings you are using. Alternatively, use FD_SET in C code, and think compile your C++ code against your C code thunk layer. HTH, --Eljay