I am using Mac OS X 10.6(snow leopard) but tried with 10.7(Mac Lion) as well.
i wanna know when do we get this select error 22.
Note: I am not getting "Invalid Argument" error. it just tells "select error 22, nrdy:-1" after my FD limit reaches 1024.
Is there any thing to do with CFLAGS?.