FD_ZERO and FD_SET.. i still don't get it
ok i know that select picks the sockets that are set, but do the sockets set themselves when they have information to be received?
i was told that in the begining of the loop to set all the sockets, but that doesn't really make much sense to me. i want to have a loop and it pick out sockets that have information to be received in it. can anyone tell me if i need to set the sockets before hand or if they become set when they have information. i also need to know if when i process the socket if i should FD_CLEAR it.