Re: reached select() limit

2017-01-31 Thread David Guillen
Yep, I think glibc related functions might be using some compile time information (like sizeof or #defines) so I wouldn't date to try that :D Thanks! 2017-01-31 17:28 GMT+01:00 Zan Lynx : > On 01/31/2017 06:41 AM, eugeny gladkih wrote: > > no, that's not a truth. you may use any socket number on

Re: reached select() limit

2017-01-31 Thread Zan Lynx
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 Solaris > you may define the FD_SETSIZE pr

Re: reached select() limit

2017-01-31 Thread eugeny gladkih
On 01/25/2017 02:18 AM, David Guillen Fandos wrote: Hello, I wrote an app that was crashing in c-ares due to fds being bigger than 1024. While c-ares might be using around 30 fds it is unable to use fds above 1024. no, that's not a truth. you may use any socket number on all modern UNIX syst