![]() |
| | #1 |
| Registered User Join Date: May 2006
Posts: 630
| select() question 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 Kind regards |
| l2u is offline | |
| | #2 |
| Yes, my avatar is stolen Join Date: Dec 2002
Posts: 2,544
| Yes, it would slow down your program. The 64 socket limit can be increased. |
| anonytmouse is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| another do while question | kbpsu | C++ Programming | 3 | 03-23-2009 12:14 PM |
| opengl DC question | SAMSAM | Game Programming | 6 | 02-26-2003 09:22 PM |
| Question on Select Case? | Wescb | C++ Programming | 8 | 12-11-2002 11:11 PM |
| Directional Keys - Useing in Console | RoD | C++ Programming | 38 | 10-06-2002 04:42 PM |
| scandir select function | dsl24 | C Programming | 3 | 04-12-2002 10:58 AM |