Re: reached select() limit

2017-02-01 Thread eugeny gladkih
On 01/31/2017 07:28 PM, Zan Lynx wrote: On 01/31/2017 06:41 AM, eugeny gladkih wrote: no, that's not a truth. you may use any socket number on all modern UNIX systems. the only thing you need - you have to allocate enough memory for fd_set. one more thing you have to know is still here. on Solar

Re: reached select() limit

2017-02-01 Thread Zan Lynx
On 02/01/2017 05:32 AM, eugeny gladkih wrote: >> >> I would certainly not assume that I can just redefine FD_SETSIZE without >> double-checking. >> > > that was a piece of production code. it works well. Well yes I am sure it does. In Solaris. I looked at glibc select() code just now and it does