RPC / Network FSes
1
RPC / Network FSes 1 last time names and addresses IPv4, IPV6 - - PowerPoint PPT Presentation
RPC / Network FSes 1 last time names and addresses IPv4, IPV6 addresses, routers tables DNS: hierarchical database POSIX socket API socket bind/listen/accept getaddrinfo 2 FTP protocol (simplifjed) 230 User logged in
1
2
(connect to server)
<CR><LF>
server sends fjle transfer fjle via new connection
3
4
5
6
7
7
7
7
7
8
9
10
11
12
13
14
14
14
14
14
15
15
15
15
16
16
16
16
17
17
17
17
17
17
17
18
18
18
18
18
19
19
19
20
21
22
23
24
25
26
27
28
system calls:
read(fd,"bar.txt",…) …
remote procedure calls:
read(fd, "bar.txt", …) … 29
30
31
32
33
34
35
36
37
38
39
40
41
41
42
43
44
45
45
45
45
45
46
46
46
46
47
48
48
49
49
50
51
52
53
54
55
55
55
55
56
56
56
57
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
GET / cr4bd/4414/F2018/schedule.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
HTTP/1.1 200 OK<CR><LF> Content-Type: text/html<CR><LF> Content-Length: 38329<CR><LF>
<CR><LF>
(contents of fjle schedule.html) GET / cr4bd/4414/F2018/assignemnts.html HTTP/1.1<CR><LF> Host: www.cs.virginia.edu<CR><LF> Accept: text/html, *;q=0.9<CR><LF>
<CR><LF>
58
59
60
61
62
62
62
63
64
65
66
67
67
68
68
69
70
71
72
73
74
75