fMaxSocket
fMaxSocket = fWritePipe + 1;
if (socket >= fMaxSocket)
fMaxSocket = socket + 1;
if (select(fMaxSocket, &set, NULL, NULL, NULL) < 0) {
for (int i = fMinSocket; i < fMaxSocket; i++) {
int fMaxSocket;