Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
soyum2222 committed Dec 14, 2020
1 parent bfb9727 commit f48726c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ If want TCP to sharpshooter convert , can try https://github.com/soyum2222/sharp
| SIZE(4byte) | SQE(4byte) | CMD(2byte) | ackSQE1(4byte)| ackSQE2(4byte) | ackSQE3(4byte) | ... |
The package max length can't over DEFAULT_INIT_PACKSIZE or Sniper.packageSize

When receive ack like :

| SIZE(4byte) | SQE(4byte) | CMD(2byte) | ackSQE1(4byte)| ackSQE2(4byte) | ackSQE3(4byte) |
if ackSQE1 == ackSQE2 and ackSQE1 < ackSQE3 this situation means ackSQE1 to ackSQE3 is continuous number .

eg: receive data : |0|0|0|1|1|10| , this means other party sent ack 1 to 10.



Expand Down

0 comments on commit f48726c

Please sign in to comment.