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 do we need socket programming?
Why do I get EPROTO from read()?
Is socket a hardware or software?
What's better 6pt or 12pt sockets?
What is difference between socket and websocket?
What is a socket set used for?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
Why does it take so long to detect that the peer died?
What is a sae socket?
Why sockets are used?
What is a socket file?
How many sockets can a port have?
What is sae socket?
How can I write a multi-homed server?
What's the difference between impact sockets and regular sockets?