Unix Socket Programming Question:

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

Tweet Share WhatsApp

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.

Download Unix Socket Programming PDF Read All 62 Unix Socket Programming Questions
Previous QuestionNext Question
Why does the sockets buffer fill up sooner than expected?How can I be sure that a UDP message is received?