Docsity

Transport Protocols: TCP and UDP in the Internet, Slides of Internet and Information Access

Partial preview of the text

Download Transport Protocols: TCP and UDP in the Internet and more Slides Internet and Information Access in PDF only on Docsity!

Transport Protocols

Relates to Lab 5. An overview of the transport protocols of the TCP/IP

protocol suite. Also, a short discussion of UDP.

Orientation

• We move one layer up and look at the transport layer.

Application Layer

Network Layer

Link Layer

IP

ARP HardwareInterface RARP

Media

ICMP IGMP

Transport Layer

TCP UDP

User Process

User Process

User Process

User Process

Transport Protocols in the Internet

UDP - User Datagram Protocol

  • datagram oriented
  • unreliable, connectionless
  • simple
  • unicast and multicast
  • useful only for few applications, e.g.,

multimedia applications

  • used a lot for services
    • network management (SNMP),

routing (RIP), naming (DNS), etc.

TCP - Transmission Control Protocol

  • stream oriented
  • reliable, connection-oriented
  • complex
  • only unicast
  • used for most Internet applications:
    • web (http), email (smtp), file

transfer (ftp), terminal (telnet),

etc.

• The Internet supports 2 transport protocols

UDP - User Datagram Protocol

• UDP is supports unreliable transmissions of datagrams

• UDP merely extends the host-to-to-host delivery service of IP datagram

to an application-to-application service

• The only thing that UDP adds is multiplexing and demultiplexing

UDP
IP IP IP IP IP
UDP

Applications Applications

Port Numbers

• UDP (and TCP) use port numbers to identify

applications

• A globally unique address at the transport layer

(for both UDP and TCP) is a tuple <IP address, port

number>

• There are 65,535 UDP ports per host.

IP
TCP UDP

User Process

Demultiplex

based on

Protocol field in IP

header

User Process

User Process

User Process

User Process

User Process

Demultiplex

based on port number