Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci authored Aug 2, 2024
1 parent 648722a commit a0c96be
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,38 @@ FEC SEQID:
SIZE:
The size of KCP frame plus 2
KCP Header
+------------------+
| conv uint32 |
+------------------+
| cmd uint8 |
+------------------+
| frg uint8 |
+------------------+
| wnd uint16 |
+------------------+
| ts uint32 |
+------------------+
| sn uint32 |
+------------------+
| una uint32 |
+------------------+
| rto uint32 |
+------------------+
| xmit uint32 |
+------------------+
| resendts uint32 |
+------------------+
| fastack uint32 |
+------------------+
| acked uint32 |
+------------------+
| data []byte |
+------------------+
```

### Layer-Model of KCP-GO
```
+-----------------+
| SESSION |
Expand All @@ -83,7 +113,6 @@ SIZE:
+-----------------+
| PHY |
+-----------------+
(LAYER MODEL OF KCP-GO)
```

### Looing for a C++ client?
Expand Down

0 comments on commit a0c96be

Please sign in to comment.