> That doesn't look right. The first select() parameter specifies the > range of FDs to consider, not the number of FDs to actually select. Given that the preceding code does a FD_ZERO(&fds) followed by a FD_SET(fSocket, &fds), the minimum correct number to pass in this case would be fSocket + 1. More generically FD_SETSIZE does always work. Yes, that was fixed in the next commit. Sorry for the noise.