Simulate tcp server listening port
sudo nc -l localhost 8700
analog connection
nc localhost 8700
Effect:
![](https://img-blog.csdnimg.cn/img_convert/e11ba5bd16db4759ada56496acd28fef.png)
The window below is synchronously input and the above is synchronously printed.
Simulate tcp server listening port
sudo nc -l localhost 8700
analog connection
nc localhost 8700
Effect:
The window below is synchronously input and the above is synchronously printed.