ApplicationLayerI Flashcards
What is the purpose of the Application Layer?
It provides network services directly to user applications, such as email, file transfer, and web browsing.
Explain the client-server model.
A client requests services from a server, which provides responses. Clients initiate communication, servers wait for incoming requests.
What is a peer-to-peer system?
A system where nodes act as both clients and servers, sharing resources directly without centralized control.
How does HTTP operate at the application layer?
HTTP is a stateless protocol used for web communication. It uses TCP for reliable delivery, with non-persistent or persistent connections.
Difference between persistent and non-persistent HTTP.
Non-persistent HTTP opens a new TCP connection for each object. Persistent HTTP reuses a single TCP connection for multiple objects.
Explain the role of a socket in network communication.
A socket is an endpoint for sending or receiving data across a network. It combines an IP address and port number.
What does DNS provide in networking?
DNS (Domain Name System) translates human-readable domain names into IP addresses used for network routing.
What happens when a URL is entered into a browser?
Browser queries DNS for IP, establishes TCP connection to server, sends HTTP request, and receives HTTP response to display content.
Describe SMTP protocol.
Simple Mail Transfer Protocol (SMTP) is used to send emails between mail servers. It uses TCP for reliable transmission.
What are POP3 and IMAP used for?
They are email retrieval protocols. POP3 downloads and deletes messages from server, IMAP allows managing emails directly on the server.