Ask Your Question
0

two different packets with same seq

asked 2018-03-13 06:56:36 +0000

Steven gravatar image

When client receives two different packets with same seq, what will it do with them?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-03-13 07:25:55 +0000

updated 2018-03-13 07:30:05 +0000

I assume you're speaking about TCP, so if the first packet has expected SEQ (in-order), a client will:

  • accept the first packet, advance sliding window and generate an ACK containing next expected SEQ;
  • discard the second packet considering it out-of-order and in response one more time generate an ACK containing next expected SEQ (same as before).

The same behavior will continue until a client gets a packet with expected SEQ.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-03-13 06:56:36 +0000

Seen: 408 times

Last updated: Mar 13 '18