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 |
If bind() fails, what should I do with the socket descriptor?
Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?
How many sockets can a cpu have?
Can multiple clients connect to same socket?
What is a socket api?
After the chroot(), calls to socket() are failing. Why?
How do I get my server to find out the clients address / host- name?
What's the difference between impact sockets and regular sockets?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
How come select says there is data, but read returns zero?
Where is the socket located?
What does af mean in sockets?