Introduction The API for the Internet protocols External data representation and marshalling
description
Transcript of Introduction The API for the Internet protocols External data representation and marshalling
![Page 1: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/1.jpg)
Introduction The API for the Internet protocols External data representation and marshalling Client-Server communication
Chapter 3: Interprocess Communication
1
![Page 2: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/2.jpg)
2
![Page 3: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/3.jpg)
3
![Page 4: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/4.jpg)
4
![Page 5: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/5.jpg)
5
![Page 6: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/6.jpg)
6
![Page 7: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/7.jpg)
7
![Page 8: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/8.jpg)
8
![Page 9: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/9.jpg)
9
![Page 10: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/10.jpg)
10
![Page 11: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/11.jpg)
What happens when several clients send requests to the server
concurrently?
11
![Page 12: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/12.jpg)
12
![Page 13: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/13.jpg)
13
![Page 14: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/14.jpg)
14
![Page 15: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/15.jpg)
15
![Page 16: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/16.jpg)
16
![Page 17: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/17.jpg)
17
![Page 18: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/18.jpg)
18
![Page 19: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/19.jpg)
19
![Page 20: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/20.jpg)
20
![Page 21: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/21.jpg)
21
Issues– At language-level data (for comm) are stored in data structures– At TCP/UDP-level data are communicated as ‘messages’ or
streams of bytes – hence, conversion/flattening is needed– Problem? Different machines have different primitive data reps,
e.g., big-endian and little-endian order of integers, float-type, char codes
– Marshalling (before trans) and unmarshalling (restored to original on arrival)
– Either both machines agree on a format type (included in parameter list) or an intermediate external standard (external data rep) is used, e.g., CORBA Common Data Rep (CDR)/IDL for many languages; Java object serialization for Java code only, Sun XDR standard for Sun NFSs
![Page 22: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/22.jpg)
22
![Page 23: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/23.jpg)
23
![Page 24: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/24.jpg)
24
![Page 25: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/25.jpg)
25
![Page 26: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/26.jpg)
26
![Page 27: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/27.jpg)
27
![Page 28: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/28.jpg)
28
![Page 29: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/29.jpg)
29
![Page 30: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/30.jpg)
30
![Page 31: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/31.jpg)
31
![Page 32: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/32.jpg)
32
![Page 33: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/33.jpg)
33
![Page 34: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/34.jpg)
34
![Page 35: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/35.jpg)
35
![Page 36: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/36.jpg)
36
![Page 37: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/37.jpg)
37
![Page 38: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/38.jpg)
38
![Page 39: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/39.jpg)
39
![Page 40: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/40.jpg)
40
![Page 41: Introduction The API for the Internet protocols External data representation and marshalling](https://reader035.fdocuments.in/reader035/viewer/2022062302/568148f9550346895db61ff5/html5/thumbnails/41.jpg)
41