Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!

Andy Green andy at warmcat.com
Fri Oct 12 09:18:57 UTC 2007


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




More information about the users mailing list