• 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/15

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;

15 Cards in this Set

  • Front
  • Back

Components of a Socket

⚫IP Address


⚫Transport Protocol


⚫Port Number

RFC 793

🐼

Elaborate Port Numbers

⚫Enables multiplexing.


⚫ Servers/Destinations use well-known port numbers assigned to applications. These numbers are below 1024.


⚫Clients/Sources use anything above 1024 as long as it is unused.

HTTP Return Codes

⚫200 - OK.


⚫404 - error.

HTTP

⚫RFC 7230


⚫Transfer of files between web servers and clients.

Transport Layers Features not provided by UDP

⚫Error recovery.


⚫Flow control.


⚫Connection establishment and termination.


⚫Ordered data transfer and segmentation.

Windowing

⚫Mechanism for flow control.


⚫The receiving host tells the sender how much data it can receive.


⚫Either sliding or dynamic window.

Error Recovery

⚫Data bytes are numbered with Sequence and Acknowledgement fields.


⚫The client can acknowledge what data are received correctly and request for retransmission for those which are not.

Forward Acknowledgement

Acknowledgement by listing the next byte/s instead of the byte/s that are last received

Connection Establishment

⚫Three-way handshake.


⚫Initialization of Sequence and Acknowledgement fields and agreeing on port numbers.

Connection Termination

This is a four-way process because the device on the right needs a confirmation from the application before sending ACK, FIN. If not, the first two segments will be sent repeatedly.

Connection-oriented and Connectionless Protocols

🐼

Popular Applications and their Port Numbers

TCP/IP Model

HTTPS Port

443