2018年3月6日星期二

linux中nc命令

参考:10 个例子教你学会 ncat (nc) 命令

nc -l port_number,在指定端口监听入站连接。
nc -l -k port_number,-k 参数保证客户端断开之后服务器仍然保持监听而不退出。

没有评论:

发表评论