协议相关介绍
交互步骤
1. The Handshake (when client connects):
- Server Sends To Client: Handshake Initialisation Packet
- Client Sends To Server: Client Authentication Packet
- Server Sends To Client: OK Packet, or Error Packet
2. The Commands (for every action the client wants the server to do):
- Client Sends To Server: Command Packet
- Server Sends To Client: OK Packet, or Error Packet, or Result Set Packet
相关序列图
- 握手协议
- 客户端服务器请求序列图
- 服务端响应请求序列图
添加评论