90 likes | 242 Vues
This document provides a comprehensive overview of key application layer protocols, including HTTP, SMTP, FTP, and Telnet. It discusses how the application layer accepts commands from users, prepares messages for the network layer, and supports various functions such as email communication, file transfers, and web browsing. The usage of these protocols in different scenarios—including HTML content handling and remote command execution—is explored, shedding light on their significance in enhancing network functionality and user interaction.
E N D
Application layer • Accepts commands from the user • Prepares messages for the network layer • Data • Destination
World wide web (HTTP) • GET http://www.eit.ac.nz/index.html HTTP/1.1 • Date: Mon 06 Sep 1999 09:49:00 NZSTUser-Agent: Lynx/2.0From: corrin.lakeland@eit.ac.nzReferer: http://www.yahoo.com/results.html
World wide web -output • HTTP/1.1 00 OKDate: Mon 06 Sep 1999 09:52:00 NZSTServer: Apache/1.3Location: http://www.eit.ac.nz/index.htmlContent-Type: text/html • <HTML><HEAD><TITLE>…</TITLE></HEAD><BODY>…</BODY></HTML>
Mail (SMTP) • Should also know about: POP, IMAP • MAIL FROM: <corrin.lakeland@xtra.co.nz>RCPT TO: <webmaster@eit.ac.nz>DATA
Mail body • From: Corrin Lakeland <corrin.lakeland@xtra.co.nz>To: Herbert Halasz <webmaster@eit.ac.nz>Date: Mon 06 Sep 1999 09:49:00 NZSTSubject: Re: Installing SSL in ports other than 443X-Mailer: KmailX-Precedence: NormalPath: eit.ac.nz!telstra.co.nz!gateway…QUIT
File transfer (FTP) • USER: lakeland or anonymous • PASS: secret or lakeland@cs.otago.ac.nz • DIR, PORT, … • Cannot be done over telnet
Telnet • Remote commands are executed and output sent back. • Ideal for accessing crays, connecting to libraries, etc. • Non graphical (X for graphics)
News (NNTP) • Netiquitte • Being replaced by mailing lists
Groupware • Tools to help groups work together • Different facilities for: • Same time vs. Different time • Same place vs. Different place • Many possible facilities • Document based • Video conferencing • Group support systems