The API for the Internet protocols - PowerPoint PPT Presentation

1 / 41
About This Presentation
Title:

The API for the Internet protocols

Description:

Chapter 3: Interprocess Communication Introduction The API for the Internet protocols External data representation and marshalling Client-Server communication – PowerPoint PPT presentation

Number of Views:61
Avg rating:3.0/5.0
Slides: 42
Provided by: Valued331
Category:

less

Transcript and Presenter's Notes

Title: The API for the Internet protocols


1
Chapter 3 Interprocess Communication
  • Introduction
  • The API for the Internet protocols
  • External data representation and marshalling
  • Client-Server communication

2
(No Transcript)
3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
What happens when several clients send requests
to the server concurrently?
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
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

22
(No Transcript)
23
(No Transcript)
24
(No Transcript)
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
(No Transcript)
32
(No Transcript)
33
(No Transcript)
34
(No Transcript)
35
(No Transcript)
36
(No Transcript)
37
(No Transcript)
38
(No Transcript)
39
(No Transcript)
40
(No Transcript)
41
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com