Hello list, I've got a quick question. In this code I'm working with, the author incrases the max file descriptor every time he adds a listener to the queue. read_fds = master;
if(select(fdmax+1, &read_fds, NULL, NULL, NULL) == -1) when he adds a new connection to the set, he increases fmax. Now, this works as long as you don't open any other files, or the computer doesn't do so on another program. Also, I believe linux reuses file descriptors after old ones are gone. Is there an easier way of doing this? I see some errors with the way it's being done. thanks, Tyler Littlefield [Non-text portions of this message have been removed]
