[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]