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
How many socket connections can a server handle?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
How do I use TCP_NODELAY?
What is the function of socket?
What is a socket api?
What is a socket address?
How to find other end of unix socket connection?
What is difference between socket and websocket?
What exactly is a socket?
What's better 6pt or 12pt sockets?
What is a socket file?
What is a socket set used for?
Can multiple sockets use the same port?
Why sockets are used?
What is sae socket?