What exactly does SO_LINGER do?



What exactly does SO_LINGER do?..

Answer / chaitanya

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Socket Programming Interview Questions

What are raw sockets?

4 Answers   Axis Technologies,


What's better 6pt or 12pt sockets?

0 Answers  


Where can a get a library for programming sockets?

1 Answers  


Why sockets are used?

0 Answers  


How can I listen on more than one port at a time?

1 Answers  






What is sae socket?

0 Answers  


What are Sockets?

1 Answers  


When should I use shutdown()?

1 Answers   Wipro,


Can multiple sockets use the same port?

0 Answers  


What is active unix domain sockets?

0 Answers  


What is a deep well socket?

0 Answers  


What pieces of information make up a socket?

0 Answers  


Categories