Answer Posted / chaitanya
This socket option tells the kernel that even if this port is busy (in the TIME_WAIT state), go ahead and reuse it anyway. If it is busy, but with another state, you will still get an address already in use error. It is useful if your server has been shut down, and then restarted right away while sockets are still active on its port. You should be aware that if any unexpected data comes in, it may confuse your server, but while this is possible, it is not likely.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a socket set used for?
What is the function of socket?
What is a deep well socket?
What is a socket connection?
What does af mean in sockets?
How to find other end of unix socket connection?
How can I force a socket to send the data in its buffer?
Where is the socket located?
Is tcp or unix socket faster?
Why do we need socket programming?
What is the purpose of socket?
Is a socket a file?
How many sockets can a port have?
How does a socket work?
How can I tell when a socket is closed on the other end?