Interview Questions

How often should I re-transmit un-acknowleged messages?

Unix Socket FAQ for Network programming


(Continued from previous question...)

How often should I re-transmit un-acknowleged messages?

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.

(Continued on next question...)

Other Interview Questions