TCP/UDP

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

18 Terms

1
New cards

Current Layer 4 Protocols

  • TCP

  • UDP

  • SCTP

2
New cards

What does TCP stand for and basics overview?

  • Transmission Control Protocol

  • Connection-oriented, reliable

3
New cards

What does UDP stand for and basic overview?

  • User Datagram Protocol

  • Connectionless, outdated

4
New cards

What does SCTP stand for and basic overview?

  • Stream Control Transmission Protocol

  • New protocol designed to offer reliable transmission over connectionless network

5
New cards

What is TCP and what does it include?

  • Provides reliable host-to-host connection

  • Ensures no data is loss

  • Includes:

    • controls for initiation

    • basic prioritization

    • flow control

    • congestion avoidance

    • termination of connection

6
New cards

What is in the TCP Header?

  • Sequence Number

  • Acknowledgement Number

  • Data Offset

  • Control Fields

  • Window

  • Checksum

7
New cards

What is the Sequence Number in the TCP Header?

  • the identifier of the segment being transferred

8
New cards

What is the Acknowledgement Number in the TCP Header?

  • the value of the next sequence number expected to be received

  • indicates where the data begins

9
New cards

What are the Control Fields in the TCP Header?

  • the bits that manage the state and control function of a TCP connection

  • examples:

    • SYN

    • SCK

    • FIN

    • RST

    • PSH

    • URG

10
New cards

What is the Window in the TCP Header?

  • number of data bytes beginning with the one indicated in the ACK field that this device is able to accept

11
New cards

What does the netstat -a command do?

  • displays network information

12
New cards

What is UDP?

  • connectionless communication model

  • provides minimal capabilities to deliver segments to a given destination

13
New cards

What are the limitations of UDP?

  • not a reliable delivery mechanism

  • lacks nearly all robust mechanisms used in TCP

  • data can be lost

14
New cards

What are the UDP header fields?

  • Length

  • Checksum

15
New cards

What is length in the UDP header?

  • entire length of the segment

16
New cards

What is the checksum in the UDP header?

  • a 16-bit value used to detect errors

  • accomplished through summing all bits in the segment and taking one's complement

17
New cards

What is a flaw with the UDP header?

  • no delivery verification with headers

  • aka no handshake

18
New cards

Which is faster, UDP or TCP?

  • UDP because no connection, acknowledgement, or retransmission is set up