1.

If Bind() Fails, What Should I Do With The Socket Descriptor?

Answer»

If you are EXITING, I have been ASSURED by ANDREW that all unixes will close open file descriptors on exit. If you are not exiting THOUGH, you can just close it with a REGULAR close() call.

If you are exiting, I have been assured by Andrew that all unixes will close open file descriptors on exit. If you are not exiting though, you can just close it with a regular close() call.



Discussion

No Comment Found