Skip to content

Commit

Permalink
Merge pull request #256 from gaohanghang/main
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
xiaolincoder authored Jul 5, 2024
2 parents 7d60a0e + dfcce4f commit 57b3345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/3_tcp/tcp_stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ struct {
} message;
```

当接收方接收到包头的大小(比如 4 个字节)后,就解析包头的内容,于是就可以知道数据的长度,然后接下来就继续读取数据,直到读满数据的长度,就可以组装成一个完整到用户消息来处理了
当接收方接收到包头的大小(比如 4 个字节)后,就解析包头的内容,于是就可以知道数据的长度,然后接下来就继续读取数据,直到读满数据的长度,就可以组装成一个完整的用户消息来处理了

0 comments on commit 57b3345

Please sign in to comment.