- What is a protocol in computer communication?
- A protocol is a set of rules for communication. It sets a standard so that devices from different manufacturers or platforms can communicate. A protocol only lays down what should happen; the devices carry out the actions.
- What are the layers of the TCP/IP protocol stack and how do they interact?
- From the top, the layers are Application, Transport, Internet and Link. Each layer can only accept input from the next higher or the next lower layer. Data is added to the headers as the packets pass through the layers, and a message sent passes from the Application layer down to the Link layer.
- What do the Transport layer and the Internet layer do in TCP/IP?
- The Transport layer provides logical communication between applications on different hosts. It breaks data into segments and ensures error-free, end-to-end delivery in sequence. The Internet layer adds a header with the source and destination IP addresses and routes the datagrams by the optimum route.
- Which protocols handle web pages, files and email?
- HTTP transfers hypertext documents and web pages, and FTP transfers files from one location to another on a network. SMTP sends email from a computer to a mail server. POP3 and IMAP retrieve email from a mail server, and IMAP leaves the message on the server so devices stay synchronised.
- How does BitTorrent share a file?
- BitTorrent provides peer-to-peer file sharing, so no web server or central device is used. The file is broken into equal sized pieces, and peers obtain the torrent file and connect to a tracker. A peer that has the complete file and shares it is a seed.
- Does SMTP retrieve email from a mail server?
- No. SMTP sends email, from a computer to a mail server or between mail servers. IMAP or POP3 retrieves email from the mail server. Saying that IMAP is used to send email is a mistake examiners reported.