TCP

inexpensivedetailedNetworking and Communications

Oct 23, 2013 (3 years and 7 months ago)

149 views

Layers

(from Tanenabaum:
“Computer Networks”
Chapter 1)

and

The TCP Layer
(Chaper 6)

Network Software

Protocol Hierarchies

a)
Layers, protocols, and interfaces.

Protocol Hierarchies (2)

a)
The philosopher
-
translator
-
secretary architecture.

Protocol Hierarchies (3)

a)
Example information flow supporting virtual communication in
layer 5.

Reference Models

The OSI
reference
model.

Reference Models (2)

a)
The TCP/IP reference model.

Reference Models (3)

a)
Protocols and networks in the TCP/IP model initially.

Services to Protocols Relationship

a)
The relationship between a service and a protocol.

Transport (TCP) Services Provided to
the Upper Layers

A

B

C

D

E

F

Connection
-
Oriented and Connectionless
Services

a)
Six different types of service.

Service Primitives (2)

a)
Packets sent in a simple (or
complex
) client
-
server interaction
on a
connection
-
oriented network.

(Reminder: Berkeley Sockets:)


Transport Connection Primitives

The socket primitives for TCP.

Socket
Programming
Example:

Internet File
Server

Client code using
sockets.

6
-
6
-
1

Socket
Programming
Example:

Internet File
Server (2)

Client code using
sockets.

Reminder: headers added by layers

The nesting of TPDUs, packets, and frames.

The TCP Service Model (2)

(a)

Four 512
-
byte segments sent as separate IP datagrams.

(b)

The 2048 bytes of data delivered to the application in a single
READ CALL.

The TCP Segment Header

TCP Header.

The TCP Segment Header (2)

The pseudoheader included in the TCP checksum.

TCP Transmission Policy

Window management in TCP.

TCP Transmission Policy (2)

Silly window syndrome.

TCP Connection Establishment

(a)

TCP connection establishment in the normal case.

(b)

Call collision.

6
-
31

Connection Release

Abrupt disconnection with loss of data.

Connection Release (2)

The two
-
army problem.

Connection Release (3)

Four protocol scenarios for releasing a connection.
(a)

Normal case of a
three
-
way handshake.
(b)

final ACK lost.

6
-
14, a, b

Connection Release (4)

(c)

Response lost. (
d)

Response lost and subsequent DRs lost.

6
-
14, c,d

TCP Congestion Control

(a)

A fast network feeding a low capacity receiver.

(b)

A slow network feeding a high
-
capacity receiver.

TCP Timer Management

(a)

Probability density of ACK arrival times in the data link layer.

(b)

Probability density of ACK arrival times for TCP.

Wireless TCP and UDP

Splitting a TCP connection into two connections.

Performance Problems in Computer Networks

The state of transmitting one megabit from San Diego to Boston

(a)

At t = 0,
(b)

After 500
μ
sec,
(c)

After 20 msec,
(d)

after 40 msec.

Fast TPDU Processing

The fast path from sender to receiver is shown with a heavy line.

The processing steps on this path are shaded.