Hi -- got a quickie (I hope) for you guys:
I saw an example of doing this (on Unix, select.h) but I dont remember much except the result..
Basically, this is what I'm interested in doing (pseudo-code wise):
fd_set myset
FD_ZERO(&myset)
for (i=0; i<32; i++)
printf myset[i]\n , or myset.fds_bits[i].. or whatever
FD_ISSET() checks the status of each bit, but I want to actually access/print their values. The desired output:
0
0
0
0
0
.... (32 times)
So, who knows how I can gut the internal organs of an fd_set?
Thanks