LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ack retransmission (https://www.linuxquestions.org/questions/linux-networking-3/ack-retransmission-564246/)

jackandking 06-24-2007 09:47 PM

ack retransmission
 
during a tcp communication, when will ack be retransmited?
If never, could some one give me a hint to implement that?

macemoneta 06-25-2007 03:00 PM

There shouldn't be a need to retransmit an ACK ever. The sender will timeout on the missing ACK and retransmit.

jackandking 07-01-2007 09:36 PM

but the sender RTO(64s) make the recver wait too long, that's why I want the recver re-send several dup-acks to trigger the retransmission.

macemoneta 07-01-2007 09:48 PM

If you send multiple ACKs, you won't get a retransmission, you'll get the next transmission.

jackandking 07-05-2007 01:00 AM

according to rfc793:
----------snd.una---------snd.max---------
if the sender get enough dup-ack(snd.una), it will thought that packet been lost and resend it, doesn't it?

macemoneta 07-05-2007 06:04 AM

Good luck with that. You'll end up breaking state and resetting to return to a synchronized state. Your transmission will essentially come to a stop briefly. Try it with a sniffer running to see the result, but remember that all TCP stacks are not created equal.

Maybe you want to use a UDP-based protocol for your transmission?


All times are GMT -5. The time now is 03:49 PM.