this is no error. If you compile the following C code:
Code: Select all
#include <stdio.h>
#include <sys/select.h>
int main(){
printf("Size of FD_SET: %d\n", sizeof(fd_set));
}
We are using bits and it's irrelevant if we are always using longs(fds_bits.l), like in my code:
Code: Select all
Structure FD_SET
fds_bits.l[#__FD_SETSIZE / #__NFDBITS]
EndStructure
DarkPlayer