TCP: How are the seq / ack numbers generated?

前端 未结 8 1984
刺人心
刺人心 2021-02-01 20:50

I am currently working on a program which sniffs TCP packets being sent and received to and from a particular address. What I am trying to accomplish is replying with custom tai

8条回答
  •  情话喂你
    2021-02-01 21:10

    RFC 793 section 3.3 covers sequence numbers. Last time I wrote code at that level, I think we just kept a one-up counter for sequence numbers that persisted.

提交回复
热议问题