Hello.. I was wondering about different select() approach in my multi-client application which will use a lot of sockets at once..
So instead of setting X sockets to fd_set (which has limitation 64 sockets on wins) and then calling select() for this fd_set, I made a class for each socket (every socket with own fd_set) and when I want to check if socket is readable/writeable/.. I just call select on fd_set of each socket.. This would mean I would have to call select() more times (for each socket) not only once for all sockets.. Would this slow down my program? It would make bypass fd_set limitation but would it affect the application speed?
Thanks for answers
Yes, it would slow down your program. The 64 socket limit can be increased.