• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/23

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

23 Cards in this Set

  • Front
  • Back
What is the TCP IP 3 Way handshake?
Builds sessions of communication between devices.
What kind of connection is TCP?
Reliable connection.
What kind of connection is UDP?
Best effort connection, unreliable. No ack/syn.
What is UDP designed for?
UDP is designed for real time communicaiton. IE voip, online games, ext.
How does TCP keep its packets in order?
TCP uses sequence numbers.
What are sequence numbers used for?
So receiving device can put packets back in correct order.
How does TCP start a session?
Session starts with 3 way hand shake.
What is a syn packet?
Synchronization packet.
What is a ack packet?
Acknowledgment packet.
How is the handshake performed?
Source device send syn packet.Destination packet responds with syn/ack packet. (Syn to finish the synchronization and ack to acknowledge the orig syn packet was received.) Source device replies w/ ack that the distinations syn/ack packet has been received.
What happens after handshake?
Data begins to move back and forth between devices.
How often does a packet get a sequence number?
Every packet gets one.
Are response packets also sequenced?
Yes.
What does Ack 11 mean?:
It means I received 10 successfully and I'm ready for 11.
How does computer know when to resend data if it thinks the receiving device never got its packet?
Each packet is imbued with a timer that says if I haven't received an ack by this time, I will resend.
The handshake process sounds so slow, how do they remedy?
Through TCP Windowing.
How does TCP Windowing work?
First packet is sent, if it is received, 2 packets are sent if it is received, 4 packets are sent ext. This will increase limitlessly until there is a problem.
What is there is a problem with the Window?
It will start stepping each window down. From 4 to 2, then from 2 to 1. Until it feels the window is reliable.
Does it ever increase the window after it has been decreased?
Eventually it will attempt to increase the window size again.
What is the process of increasing the window size called?
It is called sliding window.
What does comp do if it doesn't receive the next ack in the sequence. (IE sent sync 10 got ACK 9)?
Comp assumes failure, resends previous packet and slides window down.
What does the sequence number actually represent?
How many bytes the sender is sending at once.
What is a good example of sequence numbers?
100Bytes sent. Acks 101. 200 Sent.
Acks 201. 400 Sent. Acks 201. Failure. Slides window down. Sends 201.