8??????Linux netcat???????
???????????? ???????[ 2013/5/27 10:06:45 ] ????????
????5???? Netcat ?н???????????ж??????
?????ù?????? -d ?????????????????
?????????????
$ nc -l 2389
??????????
$ nc -d localhost 2389
Hi
??????????? Hi ?????????????????????
????6????? Netcat ????????????????
?????????????????????????????????????????????????????
?????????????
$ nc -l 2389
??????????
$ nc localhost 2389
^C
?????????????
$ nc -l 2389
$
?????????????У?????????????????????????????
?????????????? -k ???????????÷??????????????????????????????
?????????????
$ nc -k -l 2389
??????????
$ nc localhost 2389
^C
?????????????
$ nc -k -l 2389
????7?????? Netcat ??????????? EOF ?????
????Netcat ??????????? -q ?????????????? EOF ??????????????ò??????λ????
???????????????·???????
nc -q 5 localhost 2389
???????????????????? EOF ????????? 5 ????????
????8????? Netcat ?????? UDP Э??
????netcat ???????? TCP Э?飬?????? UDP??????? -u ?????????? UDP Э??????
?????????????
$ nc -4 -u -l 2389
??????????
$ nc -4 -u localhost 2389
??????????????????????????? UDP Э?飬????? netstat ??????????
$ netstat | grep 2389
udp 0 0 localhost:42634 localhost:2389 ESTABLISHED
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11