Unix Socket Programming Question:

Download Job Interview Questions and Answers PDF

What exactly does SO_LINGER do?

Unix Socket Programming Interview Question
Unix Socket Programming Interview Question

Answer:

On some unixes this does nothing. On others, it instructs the kernel to abort tcp connections instead of closing them properly. This can be dangerous.

Download Unix Socket Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How can I listen on more than one port at a time?How can I bind() to a port number < 1024?