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



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

Post New Answer

More Unix Socket Programming Interview Questions

What are the pros/cons of select(), non-blocking I/O and SIGIO?

0 Answers  


Explain the TIME_WAIT state.

1 Answers  


Why do I get connection refused when the server is not running?

1 Answers  


What is af_inet in socket?

0 Answers  


How many sockets can a cpu have?

0 Answers  






How can I be sure that UDP messages are received in order?

1 Answers  


What is the difference between read() and recv()?

0 Answers  


What is the function of socket?

0 Answers  


Are unix sockets faster than tcp?

0 Answers  


What is a socket connection?

0 Answers  


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?

0 Answers  


How can I force a socket to send the data in its buffer?

0 Answers  


Categories