aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/developers-handbook/sockets/slayers.eps
blob: 7b0ab84346cd120ae2cd5d7b42619477eb76c9f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -10 -10 110 102
%%Creator: G. Adam Stanislav
%%EndComments
%%BeginProlog
%%EndProlog

%%BeginSetup
%%EndSetup

% Gray area - Sockets
5 7 div setcolor
0 0 moveto
0 92 rlineto
100 0 rlineto
0 -92 rlineto
closepath

10 54 moveto
0 -44 rlineto
80 0 rlineto
0 44 rlineto
closepath
fill
7 11 div setcolor

% Outer layer - Ethernet
0 0 moveto
0 92 rlineto
100 0 rlineto
0 -92 rlineto
closepath

2 90 moveto
0 -88 rlineto
96 0 rlineto
0 88 rlineto
closepath
fill

% IP

4 4 moveto
0 72 rlineto
92 0 rlineto
0 -72 rlineto
closepath
stroke

% TCP

7 7 moveto
0 58 rlineto
86 0 rlineto
0 -58 rlineto
closepath
stroke

0 setcolor

% HTTP

10 10 moveto
0 44 rlineto
80 0 rlineto
0 -44 rlineto
closepath
stroke

% PNG

13 13 moveto
0 30 rlineto
74 0 rlineto
0 -30 rlineto
closepath
stroke

% Data

16 16 moveto
0 16.5 rlineto
68 0 rlineto
0 -16.5 rlineto
closepath
fill

/Courier findfont 10 scalefont setfont
7 11 div setcolor

26 81 moveto
(Ethernet) show

43 68 moveto
(IP) show

40 57 moveto
(TCP) show

0 setcolor
37 46 moveto
(HTTP) show

39.6 35 moveto
(PNG) show

1 setcolor
28 22 moveto
(D A T A) show
%%Trailer
showpage
%%EOF