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 |
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
What are Sockets?
What exactly is a socket?
If bind() fails, what should I do with the socket descriptor?
How are unix domain sockets implemented?
What is the difference between connected and unconnected sockets?
How do I get the port number for a given service?
Why do I get EPROTO from read()?
Is socket a hardware or software?
What is difference between socket () and serversocket () class?
How can I read ICMP errors from connected UDP sockets?
What's the difference between impact sockets and regular sockets?