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

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Introduction
TCP长连接Demo支持双向发送接收文件
- 接收数据 1001 为心跳
- 接受数据 1000 为文件且第一次接受的25个字节为 1000&eqpName&fileName
- 文件数据 以 ` 结尾
```
.
├── 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);
```