File tree 1 file changed +5
-7
lines changed 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -559,9 +559,7 @@ Home:[https://github.com/google/pywebsocket]
559
559
560
560
= 5 网络 =
561
561
562
- == 5.1 标准协议 ==
563
-
564
- === 5.1.1 链路层 & 网络层 ===
562
+ == 5.1 链路层 & 网络层 ==
565
563
566
564
<h4>Scapy</h4>
567
565
@@ -582,7 +580,7 @@ ans,unans = sr(IP(dst="192.168.1.1-254")/ICMP())
582
580
ans,unans = srp(Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst="192.168.1.0/24"), timeout=2)
583
581
</source>
584
582
585
- === 5.1. 2 传输层 = ==
583
+ == 5.2 传输层 ==
586
584
587
585
<h4>socket</h4>
588
586
@@ -598,7 +596,7 @@ Python 标准库很早就提供了对 socket 编程的支持。
598
596
599
597
这个标准库基于上述的 asyncore,提供更高层的 API,简化异步通讯编程。
600
598
601
- === 5.1.3 应用层 = ==
599
+ == 5.3 标准的应用层 ==
602
600
603
601
<h4>ftplib</h4>
604
602
@@ -664,7 +662,7 @@ Home:[https://bitbucket.org/jaraco/irc]
664
662
665
663
IRC 是 Internet Relay Chat 的缩写。这是用 Python 封装的第三方库。
666
664
667
- == 5.2 自定义协议 ==
665
+ == 5.4 自定义的应用层 ==
668
666
669
667
<h4>Protocol Buffers</h4>
670
668
@@ -690,7 +688,7 @@ Wikipedia:[https://en.wikipedia.org/wiki/Apache_Thrift 英文]
690
688
691
689
(在这个方面,它有点类似于 Google 的 Protocol Buffers)
692
690
693
- == 5.3 网络库、框架、中间件 ==
691
+ == 5.5 网络库、框架、中间件 ==
694
692
695
693
<h4>Twisted</h4>
696
694
You can’t perform that action at this time.
0 commit comments