TCP and UDP Flashcards

1
Q

TCP

A

Transmission Control Protocol (Layer 4) Reliable, verifies receipt of data, ends gracefully

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

UDP

A

User Datagram Protocol (Layer 4) Not as reliable as TCP but much quicker – used for video streaming, or small data transfers (ie DNS).

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

TCP Everyday example

A

Phone call 1. Establish session (Dial number and say hello). 2 Acknowledge information received (saying “got it” or “I didn’t get that you were breaking up”) 3. Ending session (“Good bye” and hang up).

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

What are 3 steps in TCP 3 way handshake

A
  1. Client -> Syn (Synchronize) 2. Server -> Syn Ack (Synchronize Acknowledgement) 3. Client -> Ack (Acknowledgement)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are 4 steps in TCP 4 way disconnect

A
  1. Server -> FIN (Finish) 2. Client -> FIN ACK (Finish Acknowledgement) 3.Client-> FIN (Finish) 4. Server-> FIN ACK (Finish Acknowledgement)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

TCP Reset

A

RST is sent abruptly ending the session; similar to hanging up a phone.

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

Client Port Numbers

A

Referred to as Ephemeral Port Numbers (temporary)

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