CPET 355 Data Communications - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

CPET 355 Data Communications

Description:

Paul I-Hai Lin, Professor. Electrical and Computer Engineering ... Payload type (7-bit) encoding algorithms (uncompressed 8-bit audio, MP3, etc) April 5, 2004 ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 18
Provided by: Paul6
Category:

less

Transcript and Presenter's Notes

Title: CPET 355 Data Communications


1
CPET 355Data Communications Networking
  • 6. The Transport Layer
  • User Datagram Protocol
  • Paul I-Hai Lin, Professor
  • Electrical and Computer Engineering Technology
  • Purdue University, Fort Wayne Campus

2
The Transport Layer
  • Goals
  • Provide reliable, cost effective data transport
    from source machine to destination machine
  • Reside on user machine
  • Service Types
  • Connectionless
  • UDP (User Datagram Protocol)
  • Connection-oriented
  • TCP (Transmission Control Protocol)

3
The Transport Layer Port Number
  • Port number 0 - 65536
  • Internet Assigned Number Authority (IANA)
  • http//www.iana.org/numbers.htm
  • Well-known 0 to 1,023
  • Registered 1,024 49,151
  • Dynamic (private) 49,152 - 65,535

4
The Transport Data Unit
From Figure 6-3, Page 485, Computer Networks, 4th
Ed, Andrew Tanenbaum, Prentice Hall
5
User Datagram Protocol (UDP) RFC 768
  • Connectionless, fixed port binding
  • No-error control, no flow control, no
    retransmission
  • Useful for Client-Server applications
  • Short request
  • Short reply
  • Time-out, try again

6
UDP Services
  • Broadcast or multicast services
  • Real-time data (video, audio, industrial control,
    etc)
  • Short transaction time that assume implicit
    acknowledgement and tolerance on duplicate
    datagram

7
TCP/UDP Services
  • View Linux TCP/UDP Services
  • cat /etc/services
  • TCP/IP Suites
  • FTP file transfer (port 21)
  • Telnet remote login (port 23)

8
UDP Services Examples
  • Echo service (ping, port 7)
  • Daytime server (port 13)
  • Domain Name Server (DNS, port 53)
  • Simple Network Management Protocol (SNMP, port
    161)
  • Remote Procedure Call (RPC, port 111)

9
UDP Services Examples
  • Real-Time Transport Protocol
  • Network Time Protocol (NTP)
  • Bootps Server port downloading bootstrap info
  • Bootpc Client port downloading bootstrap info

10
UDP Header
Data

From Figure 6-23, Page 526, Computer Networks,
4th Ed, Andrew Tanenbaum, Prentice Hall
11
UDP Header
  • Header (8-byte)
  • Source port (16-bit)
  • Destination port (16-bit)
  • UDP Length (16-bit)
  • UDP Checksum (16-bit)
  • Data (65,507 bytes 65535-20-8)
  • 20-byte IP header
  • 8-byte UDP header

12
RTP (Real-Time Transport) Protocol RF 1889
  • Real-time multimedia applications
  • Internet radio
  • Telephony
  • Music-on-demand
  • Videoconferencing
  • Video-on-demand

13
The Real-Time Transport Protocol
From Figure 6-25, Page 529, Computer Networks,
4th Ed, Andrew Tanenbaum, Prentice Hall
14
The RTP Header
From Figure 6-26, Page 531, Computer Networks,
4th Ed, Andrew Tanenbaum, Prentice Hall
15
The RTP Header
  • Version (2-bit)
  • P (1-bit) padded to multiple of 4-bytes
  • X (1-bit) extension header present
  • CC (4-bit) number of contributing sources (0 to
    15)
  • M (1-bit) application-specific marker
  • Payload type (7-bit) encoding algorithms
    (uncompressed 8-bit audio, MP3, etc)

16
The RTP Header (continue)
  • Sequence Number (16-bit)
  • Packet counter
  • Timestamp (32-bit)
  • Synchronization source Identifier
  • Stream packet (association)
  • Contributing source identifier (studio mixers)

17
Real-Time Control Protocol
  • A sister protocol of RTP
  • Handles feedback, synchronization, and user
    interface
  • In-stream synchronization
Write a Comment
User Comments (0)
About PowerShow.com