Andy Green wrote:
Opps, you are right hand driven transcription error!! The code is in a subroutine passed pointers to fd_set's ... :-[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 --
|