Jordi Guitart Fernandez wrote: > Hi > > I've checked that if I try to redefine the value of FD_SETSIZE to > something different of 1024, the problem occurs. If it is 1024, > everything is ok Something larger? Or something smaller? Or both? Perhaps poll() is a more robust way forward... :) rick jones