How often should I re-transmit un-acknowleged messages?
Answer / chaitanya
The simplest thing to do is simply pick a fairly small delay such as one second and stick with it. The problem is that this can congest your network with useless traffic if there is a problem on the lan or on the other machine, and this added traffic may only serve to make the problem worse.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can I listen on more than one port at a time?
How can I put a timeout on connect()?
Can a single socket port be used for multiple applications?
How many sockets can a cpu have?
Why do I get EPROTO from read()?
What is the difference between connected and unconnected sockets?
What is the difference between SO_REUSEADDR and SO_REUSEPORT?
How can I set the timeout for the connect() system call?
How do I properly close a socket?
What is a socket file?
What is the difference between close() and shutdown()?
How do Sockets Work?