Linux simulates connection to TCP server and simulates TCP client

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.

Guess you like

Origin blog.csdn.net/u010919083/article/details/128931773