创建一个简易的服务器,用来监听1234端口(ip地址为192.168.56.52)
nc -l -p 1234
下一步,在别的机器上,使用telnet或netcat或其他小程序进行连接
telnet 192.168.56.52 1234