internet protocol stack (2) Flashcards

(13 cards)

1
Q

what is the main function of the transport layer

A

to provided end to end communication between application process on different host

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

name 2 transport layer protocol

A

udp ( user datagram protocol)
tcp (transmission control protocol)

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

what do port number specify

A

specify processes running on a host

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

which protocol is connection oriented

A

tcp

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

what does a socket consists in a tcp

A

a 4 tuple - source ip, source port, destination ip, destination port

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

how does the receiver know which app a segment belongs to

A

it checks the destination port number in the transport header

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

give an example of an application that commonly uses udp

A

DNS, streaming video

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

what field in the tcp header is used for control flow control

A

the receive window (rwnd)

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

what is the purpose of the tcp checksum

A

to detect bit level errors in the segment

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

what does the tcp flow control prevent

A

prevents the sender from overwhelming the receiver buffer

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

why is the udp considered best effort

A

it doesn’t guarantee delivery, order or error correction

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

why do some application still use udp despite its unreliabilty

A

it is faster and suitable for apps that tolerate some loss (like video or audio streaming)

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

whats the difference between flow control and congestion control

A

flow control
It is between the sender and the receiver
Prevents buffer overflow

congestion control
between the sender and the network
prevents network overload

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