14.1 Protocols Flashcards
Why is a protocol essential for
communication between computers?
- Protocol represents the agreed rules for communication between two systems.
- Includes mode of connection, packet size, compression mode, etc.
- Without these rules, it is not possible to ensure successful communication.
State the four-layer structure for TCP/IP protocols.
Application
Transport
Internet/Network
Link layer
Purpose and function of the Application layer.
Contains all the programs that exchange data, such as web browsers or server software and sends files to the transport layer.
This layer allows applications to access services in other layers and defines the protocols that any app uses for the exchange of data.
HTTP/SMTP/POP3/FTP/IMAP
Purpose and function of the Transport layer.
Transport layer regulates the network connections, ensuring the packets arrive in sequence, without errors, by retransmitting packets if they become lost or corrupted.
eg TCP
Purpose and function of the Internet layer.
Identifies the intended network and host. eg IP (internet protocols)
Purpose and function of the link layer.
Identifies and moves traffic across local segments, encapsulates IP packets into frames for transmission, maps IP addresses to mac addresses, and ensures correct protocols are followed.
eg Ethernet, WiFi, Bluetooth
State the steps which take place when the TCP/IP is used to send a message to a node on a different LAN.
- Message is split into packets.
- Each packet is given a header, including destination IP, file size
- Packets forwarded from one LAN to the other LAN
- Packets may take different routes, then reassembled at the destination.
Function of the TCP protocol.
1) Allows applications to exchange data
2) Establishes and maintains connection until data exchange is completed.
3) Reassembles packages into the correct order.
Function of the IP Protocol.
1) Routes the packets around the network
2) Adds the source/destination address to the header of each packet.
Describe TCP/IP protocol suite.
- A layered stack with 4 layers.
- Uses a set of protocols for transmission of data.
- ATIL.
Explain how Bittorrent works?
- BitTorrent client software made available.
- File is split into small pieces.
- A computer joins the swarm by downloading the torrent descriptor file.
- Once the computer has a piece of the file it can become a seed and upload that piece to other members of the swarm.
- A leech refers to a seed that does more downloading than uploading.
What is a tracker?
Central server that has data on peers uploading/downloading files.
What is a seed?
peer computer that is uploading downloaded content.
What is a swarm?
All connected peer computers that have part of the file to be downloaded.