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 put a timeout on connect()?
Can a single socket port be used for multiple applications?
Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?
What is with the second parameter in bind()?
How would I put my socket in non-blocking mode?
Can multiple sockets use the same port?
How can I find the full hostname (FQDN) of the system I am running on?
How can my client work through a firewall/proxy server?
What is difference between socket () and serversocket () class?
When will my application receive SIGPIPE?
How is a socket created?
What are Sockets?