Linux Tcp Socket Server&Client测试工具

一、Socket Server

推荐NC命令。

1.1 安装

apt install nc

1.2 监听端口并可发送数据:

nc -lk 8888