What does an EAGAIN (11) error code mean after a connect() call? The reason
I ask is that it is not listed as one of the error codes that connect()
returns in the help files. I am working on a socket server and out of 10000
attempted connections, several of them fail in the connect with errno being
set to 11. Another interesting tidbit is that the first failure happens
around number 3976 every time. I have no idea why this is happening since
I’m only opening one socket connection at a time. I am preforking in my
socket server to handle the connections, ie I am forking 5 children and each
one of the children runs accept(). Do you think this might have something
to do with it?
Any ideas why this happens? Any help would be appreciated.