Unix Socket Programming Question:
How often should I re-transmit un-acknowleged messages?
Answer:
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.
Previous Question | Next Question |
Why does the sockets buffer fill up sooner than expected? | How can I be sure that a UDP message is received? |