- Jul 23, 2005
- 2,070
- 0
- 0
Ok, I understand how to add file descriptors and the whole idea of what select does. I understand that it returns the number of descriptors that are ready to be read, write, or handled. What I don't understand is how I'm supposed to know WHICH desciptor is ready. Does it reorganize the fd_set array so that all the ones that are ready are at the front of the array, or do I have to go through all of them and check them somehow?
Any help would be greatly appreciated.
Any help would be greatly appreciated.
