Skip to content

Commit

Permalink
更新封装
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean04111 committed Nov 3, 2022
1 parent 6625e63 commit 80eb907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 使用原生go环境搭建基于gRPC的通信系统
# 使用原生go环境搭建基于gRPC的通信工具
## 与socket的不同
<br> 这里的广播不像之前的socket编程一样简单,主要的差别在于gRPC是一个通信协议,而socket更像是一个文件,只要建立连接后,谁都可以在里面读和写,所以server端和client端之间的交流相对来说比较简单,而gRPC的不同之处在于,gRPC更像是一个通信协议,每次使用gRPC通信都需要得到通信双方的认可<br>
正是由于这个特性,导致使用gRPC进行广播的时候就很难确定出什么时候client端该向server端索要消息数据了。
Expand Down

0 comments on commit 80eb907

Please sign in to comment.