Somebody in the thread at some point said: > FD_ZERO(rfd); > FD_SET(fd[0], rfd); > if (FD_ISSET(fd[0], rfd)) { Dunno how you managed to compile that. You need to use &rfd in these places. -Andy
Somebody in the thread at some point said: > FD_ZERO(rfd); > FD_SET(fd[0], rfd); > if (FD_ISSET(fd[0], rfd)) { Dunno how you managed to compile that. You need to use &rfd in these places. -Andy