dparrish/libcli — pull request #13 by vmytnyk (2012-12-13 17:06:55+00:00)
Title: Better to change cli_loop() to use poll(..) instead of select(..).

Hi,

Using select(...) function you are not able to create more file descriptors then FD_SETSIZE define in the OS. On majority of systems it's 1024. In some cases it causes really a big trouble in applications that creates a lot of file descriptors.
So, I suggest to change cli_loop() to use poll instead of select() as it allows us to create more file descriptors then select() function.

Thanks,
Volodymyr