Unix Socket Programming Question:

What exactly does SO_LINGER do?

Tweet Share WhatsApp

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 PDF Read All 62 Unix Socket Programming Questions
Previous QuestionNext Question
How can I listen on more than one port at a time?How can I bind() to a port number < 1024?