1
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
<title>Twisted Documentation: Twisted Pair: Low-level Networking</title>
4
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
8
<h1 class="title">Twisted Pair: Low-level Networking</h1>
9
<div class="toc"><ol><li><a href="#auto0">Overview of classes</a></li><ul><li><a href="#auto1">Transports</a></li><li><a href="#auto2">Protocols</a></li><li><a href="#auto3">Interfaces</a></li></ul></ol></div>
13
<p>Twisted can do low-level networking, too.</p>
15
<p>Here's an example that tries to show the relationships of different
16
classes and how data could flow for receiving packets.</p>
18
<pre xml:space="preserve">
22
PcapProtocol TuntapPort
28
+------------+-----------+---...
30
IPProtocol ARPProtocol IPv6Protocol
32
+-------------+----------------+---...
34
RawUDPProtocol RawICMPProtocol RawTCPProtocol
40
<p>Of course, for writing, the picture would look pretty much
41
identical, except all arrows would be reversed.</p>
43
<h2>Overview of classes<a name="auto0"/></h2>
47
<h3>Transports<a name="auto1"/></h3>
52
<li>TuntapPort: TODO</li>
55
<h3>Protocols<a name="auto2"/></h3>
60
<li>EthernetProtocol: TODO</li>
61
<li>IPProtocol: TODO</li>
62
<li>RawUDPProtocol: TODO</li>
65
<h3>Interfaces<a name="auto3"/></h3>
70
<li>IRawDatagramProtocol: TODO</li>
71
<li>IRawPacketProtocol: TODO</li>
76
<p><a href="index.html">Index</a></p>
77
<span class="version">Version: 10.0.0</span>
b'\\ No newline at end of file'