You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
500 B

3 years ago
# Introduction
TCP长连接Demo支持双向发送接收文件
- 接收数据 1001 为心跳
- 接受数据 1000 为文件且第一次接受的25个字节为 1000&eqpName&fileName
- 文件数据 以 ` 结尾
3 years ago
```
.
├── TCPServer
│  
└── TCPClient
```
Client - [Log](https://git.zggsong.cn/ZGGSONG/TCPDemo/src/branch/master/TRI_TCP_Client/TRI_TCP_Client/Log) 中包含比较好用的简单日志类
```
# 用法
Logger.Instance.WriteLog(value, LogType.Information);
```