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 |
How do I get the port number for a given service?
How do I use TCP_NODELAY?
How can I be sure that UDP messages are received in order?
How can I force a socket to send the data in its buffer?
How should I choose a port number for my server?
What is socket address?
Whats the difference between select() and poll()?
How can my client work through a firewall/proxy server?
Where can a get a library for programming sockets?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
Are sockets files?
What are raw sockets?