Answer Posted / chaitanya
You get this when the address is already in use. (Oh, you figured that much out?) The most common reason for this is that you have stopped your server, and then re-started it right away. The sockets that were used by the first incarnation of the server are still active. This is further explained in ``2.7 Please explain the TIME_WAIT state.'', and ``2.5 How do I properly close a socket?''.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why sockets are used?
How many sockets can a port have?
What is sae socket?
What are the types of sockets?
What is the difference between read() and recv()?
What is a socket api?
Can multiple clients connect to same socket?
Is a socket a file?
What's the difference between impact sockets and regular sockets?
What is a socket connection?
Is tcp or unix socket faster?
What is difference between socket and websocket?
How to find other end of unix socket connection?
Are unix sockets faster than tcp?
How many socket connections can a server handle?