<分区>
我是这样使用netcat的
nc -l 3333 //for server
nc 127.0.0.1 3333 // for client
有了这个,我可以将它用作双向聊天系统。
我的问题是,那为什么还有另一种选择
-p ( -p source_port Specifies the source port nc should use, subject to privilege restrictions and availability.)
它也适用于 -p 选项。两者有什么区别?