9 - Transport Layer Protocols Flashcards

1
Q

Encapsulation

A

Each layer has a PDU (Protocol Data Unit)
Header/Body
Each layer adds a header to the PDU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Transport Layer

A

Communcation between processes on different hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Transport Layer send side

A

Break app messages into segments (transport layer packets)

pass to net layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Network Layer

A

Provides communication between hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Transport layer receive side

A

Reassemble segments into messages

Pass to app layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Transport vs Network

A

Net: comms between hosts
Transport: comms between processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

TCP - Transmission Control Protocol

A

Reliable, in order delivery

  • Congestion Control
  • FLow Control
  • Connection Setup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

UDP - User Datagram Protocol

A

unreliable, unordered “best effort”

connectionless

  • no handshaking
  • each segment handled separately
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Addressing Processes

A

IP Address - host
Port Num - Identifies process
eg HTTP 80, Mail 25

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Multiplexing

A

At Send Host

  • gathering data from multiple sockets, enveloping data with header. Collating messages to send
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Demultiplexing

A

At Receiving host

- delivering received segments to correct socket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Non-Persistent vs Persistent HTTP

A

NON - at most one object sent over TCP

Persistent - Multiple objects over single TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

UDP Checksum Sender

A

treat segment as seq of 16 bit ints
checksum: addition of contents (1’s complement sum)
put into UDP checksum field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

UDP Checksum receiver

A

compute checksum

check if equals field value else error detected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SQN number

A

TCP Sequence number = first byte of data in segment.
bytes
initial is random

TCP is full duplex - numbering is independent in each direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Acknowledgement Number

A

Sequence number of the next byte expected from the sender

cumulative

17
Q

TCP connection handshake

A

1) client host sends TCP SYN seg to server
- specify init seq #
- no data

2) server replies with SYNACK seg
- allocates buffer
- specify server init seq #

3) client replies with ACK which may contain data

18
Q

TCP Connection close

A

One side sends FIN=1 and the other ACKs

then second side sends FIN=1 and first ACKs

19
Q

TCP FLow Control

A

Receiver has buffer sends the byte value of it in the Receive Window field.

Sender then makes sure that packets to send plus packets in transit will not overflow the buffer

20
Q

As the receive window reduces, what happens to transmission rate?

A

Reduces

21
Q

What happens when receive window reaches zero?

A

Comms stop as sender is not informed of free space.

Sender probes every few seconds with empty packets waiting for indication of space