25
Transport Layer

New udp

Embed Size (px)

Citation preview

Page 1: New udp

Transport Layer

Page 2: New udp

Position of Transport Layer

• Responsible for the delivery of a message from one process to another

Page 3: New udp

Types of data deliveries• The transport layer is responsible for process-to-process delivery.• Process (application program ??)

Page 4: New udp

The internetr model has three protocols at the transport layer.

UDP – is the simplest protocolsTCP – is complex than UDPSCTP –

is designed for multimedia applications

Page 5: New udp

Client-Server Paradigm

Page 6: New udp

Address is required for delivery of dataData link layer needs MAC addressesNetwork layer needs IP addressesTransport layer requires port number

Addressing

Page 7: New udp

The internet uses specific port numbers for servers, called well known port numbers.

Page 8: New udp
Page 9: New udp
Page 10: New udp

Socket address• Process-to-process delivery needs two identifiers, IP address

and the port number

• Socket address is the combination of an IP address and a port number

• A transport-layer protocol needs a pair of socket addresses; the client and server socket address

• IP header contains IP address and UDP/TCP contain port number

Page 11: New udp

Multiplexing and demultiplexing

Page 12: New udp
Page 13: New udp

Connectionless vs. Connection-oriented• Connection-oriented: connection established, data transferred,

connection released

– TCP and SCTP

• Connectionless: UDP

Page 14: New udp

Reliable vs. Unreliable

Page 15: New udp

Reliability at the data link layer is between two nodes, whereas Reliability at the transport layer is between two ends

Page 16: New udp

Position of UDP, TCP, and SCTP

Page 17: New udp

UDP

Page 18: New udp

Well-known Ports for UDP

Page 19: New udp
Page 20: New udp
Page 21: New udp
Page 22: New udp

UDP Operation

• Connectionless services

• Flow and error control

• Encapsulation and decapsulation

• Queuing

Page 23: New udp
Page 24: New udp
Page 25: New udp

Use of UDP

• Suitable for a process that requires simple request-response communication with little concern for flow and error control, not suitable for FTP which sends a bulk of data.

• Suitable for a process with internal flow and error control mechanisms such as TFTP( )

• Suitable for multicasting. Multicasting is available in UDP but not in TCP.

• Used for management processes such as SNMP

• Used for some route updating protocols such as RIP