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 do I send [this] over a socket?
How are unix domain sockets implemented?
After the chroot(), calls to socket() are failing. Why?
What are the pros/cons of select(), non-blocking I/O and SIGIO?
How can I read ICMP errors from connected UDP sockets?
How would I put my socket in non-blocking mode?
What are raw sockets?
Why does the sockets buffer fill up sooner than expected?
How can I put a timeout on connect()?
How do I get my server to find out the clients address / host- name?
Explain the TIME_WAIT state.
What is the difference between read() and recv()?