Norio Kobota @nori0428
Norio Kobota @nori0428
Ah sorry.I didn't know belows. > man 2 select ( http://linux.die.net/man/2/select ) > An fd_set is a fixed size buffer. Executing FD_CLR() or FD_SET() with a value of fd that...
I could fix this by using modulus operator. http://stackoverflow.com/questions/7976388/increasing-limit-of-fd-setsize-and-select
p.s. 'SET_FD' and 'select' on Windows is differ from Linux/BSD, so this fix can not apply to Windows systems.
Thank you always Phil, > Using modulus avoids the invalid memory reference, but doesn't address the underlaying problem. Ah ... OK.I recognized this. But in this case, I thought that...