[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Accept() returns invalid socket descript and no error.



I'm working on some socket code for a project I share with someone.

The strange thing is that the accept() call returns '0' (zero) with 
no error. This of course is a invalid socket descriptor, every single 
time, so select complains.

I have never known accept() to do this in my years of programming, 
has anybody else? If so a fix would be really, really helpful.

Either way this is a huge bug if it is not simply the dev teams own 
ignorance that is the problem (and I highly doubt that it is), and if 
it is a problem it should be looked into post haste.




Reply to: