IEG 4180 Tutorial 11 - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

IEG 4180 Tutorial 11

Description:

IEG 4180 Tutorial 11. Prepared by Zero. Message Flow. Simplex. Uni-directional communication ... Both party can pick the two roles. Half- Duplex ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 9
Provided by: courseIe
Category:
Tags: ieg | simplex | tutorial

less

Transcript and Presenter's Notes

Title: IEG 4180 Tutorial 11


1
IEG 4180 Tutorial 11
  • Prepared by Zero

2
Message Flow
  • Simplex
  • Uni-directional communication
  • The sender / receiver role is fixed
  • Duplex
  • Bi-directional communication
  • Both party can pick the two roles
  • Half- Duplex
  • At each time, messages can flow in only one
    direction
  • Full-Duplex
  • Messages can flow in only any direction at any
    time

3
Protocol Design
  • Type
  • Control information
  • Protocol header, flags identifying message
    purpose
  • Data
  • Resource to be requested or responded
  • Headers are composed of
  • Fixed header fields (must have, e.g. regarding to
    which session)
  • Variable/optional header fields (optional, e.g.
    extra information like timestamp)

4
Protocol Design (cont.)
  • Message boundary and fields boundary
  • Fixed length or use delimiter (implicit /
    explicit)
  • Text (mostly require variable length)
  • Use human readable text for communication
  • Binary (mostly require fixed length)
  • Use binary for communication

5
Protocol Design (example)
  • Regarding to Streaming Server (SS) uploading the
    list of files to Directory Server (DS)
  • Text example
  • Send out
  • DS keep receiving until it find \0\0
  • Binary example
  • Send out
  • DS receive the first 5 bytes through MSG_PEEK
    flagAccording to id, it uses normal receive up
    to the specified size (int type)DS will further
    extract the file names according to the length
    specified by l

6
NAT
  • Allowing internal hosts communicate with external
    hosts as if they are in the same network
  • Translating internal and external address
    according to certain table entry (if exist)
  • Table entries are created
  • Automatically connection is initialized by
    internal host
  • Manually specify directing all traffic for
    certain port to port of another specified
    internal host

7
NAT (Type)
8
Traffic Elasticity
  • Elastic
  • Can tolerant degradation of resource quality
  • Inelastic
  • Require certain level of resource quality
  • Metrics in describing resource quality
  • Delay
  • Bandwidth
  • Data integrity
  • Burstiness
Write a Comment
User Comments (0)
About PowerShow.com