Cirrus Logic CS485 Bedienungsanleitung Seite 65

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 67
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 64
CS485G Spring 2015 65
59 Client-server
1. Clients
(a) Examples: ftp, telnet, ssh, browsers like Firefox.
(b) Lecture 37, 5/1/2015
(c) To find a server: use the DNS service to convert a DNS name to
an IP address.
(d) To find the right port: look int /etc/services to find the stan-
dard port for various services, such as 25 (smtp), 80 (http).
2. Servers
(a) Typically long-running, started when the operating system boots.
(b) Can be stopped/started, by distribution-dependent methods (such
as service apache2 stop.
(c) Listens for requests on the well-known port and communicates
with a standard protocol (typically on top of TCP).
(d) Standard services. Each uses a
i. Web (80/HTTP): provides files, can perform server-side com-
putation (SHTML, CGI, PHP, JSP, ...).
ii. FTP (20, 21/FTP): stores and retrieves files.
iii. Telnet (23/Telnet): interactive login. Deprecated, because
unencrypted.
iv. SSH (22/SSH): interactive login; encrypted.
v. Mail (25/SMTP): accepts incoming mail.
3. Web services
(a) The WWW mostly started around 1993, with the Mosaic browser;
there were about 200 WWW servers worldwide.
(b) Web servers return content to clients, which is a sequence of
bytes tagged with a MIME (Multipurpose Internet Mail Exten-
sion) type, such as text/html, application/pdf, image/png.
(c) Content can be static (contents of a file) or dynamic (computed
on demand).
(d) Each content item is associated with a URL (Universal Resource
Locator), of a general form service://host:port/file/
path, specifically http://www.cs.uky.edu/
˜
raphael/courses/
CS485/index.html
Seitenansicht 64
1 2 ... 60 61 62 63 64 65 66 67

Kommentare zu diesen Handbüchern

Keine Kommentare