Initial import to Tizen
[profile/ivi/python-twisted.git] / doc / pair / howto / twisted-pair.html
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">
2   <head>
3 <title>Twisted Documentation: Twisted Pair: Low-level Networking</title>
4 <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
5   </head>
6
7   <body bgcolor="white">
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>
10     <div class="content">
11 <span/>
12
13 <p>Twisted can do low-level networking, too.</p>
14
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>
17
18 <pre xml:space="preserve">
19 FileWrapper
20    |
21    v
22 PcapProtocol  TuntapPort
23    |            |
24    +------------+
25    v
26 EthernetProtocol
27    |
28    +------------+-----------+---...
29    v            v           v
30 IPProtocol    ARPProtocol  IPv6Protocol
31    |
32    +-------------+----------------+---...
33    v             v                v
34 RawUDPProtocol  RawICMPProtocol  RawTCPProtocol
35    |
36    v
37 DatagramProtocol
38 </pre>
39
40 <p>Of course, for writing, the picture would look pretty much
41 identical, except all arrows would be reversed.</p>
42
43 <h2>Overview of classes<a name="auto0"/></h2>
44
45 <p>TODO</p>
46
47 <h3>Transports<a name="auto1"/></h3>
48
49 <p>TODO</p>
50
51 <ul>
52 <li>TuntapPort: TODO</li>
53 </ul>
54
55 <h3>Protocols<a name="auto2"/></h3>
56
57 <p>TODO</p>
58
59 <ul>
60 <li>EthernetProtocol: TODO</li>
61 <li>IPProtocol: TODO</li>
62 <li>RawUDPProtocol: TODO</li>
63 </ul>
64
65 <h3>Interfaces<a name="auto3"/></h3>
66
67 <p>TODO</p>
68
69 <ul>
70 <li>IRawDatagramProtocol: TODO</li>
71 <li>IRawPacketProtocol: TODO</li>
72 </ul>
73
74 </div>
75
76     <p><a href="index.html">Index</a></p>
77     <span class="version">Version: 12.1.0</span>
78   </body>
79 </html>