Académique Documents
Professionnel Documents
Culture Documents
Network Applications Requirements Application Layer Protocol Functions. Sample Internet Applications & Protocols:
File Transfer Protocol (FTP). Sending E-Mail: SMTP. HyperText Transfer Protocol (HTTP).
EECC694 - Shaaban
#1 lec #15 Spring2000 5-2-2000
Data Loss
No loss No loss Loss-tolerant
Bandwidth Requirements
Variable Variable Audio: few Kbps to 1Mbpsyes Video: 10's Kbps to 5 Mbps Same as interactive audio/video Few Kbps to 10's Kbps Variable
Latency sensitivity
none none 100's of msec
Application-dependent
EECC694 - Shaaban
#3 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#4 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#5 lec #15 Spring2000 5-2-2000
Application-layer protocol
Send: Simple Mail Transfer Protocol SMTP [RFC 821] Receive: Post Office Protocol v3 POP3 [RCF 1939] Telnet [RFC 854]
HyperText Transfer Protocol 1.1
TCP 23 TCP 80
HTTP 1.1 [RFC 2068] File Transfer Protocol FTP [RFC 959] Trivial File Transfer Protocol TFTP [RFC 1350] Remote file server Streaming multimedia Internet telephony NFS [McKusik 1996] Proprietary (e.g., Real Networks) Proprietary (e.g., Vocaltec) TCP 21 UDP 69
File Transfer
EECC694 - Shaaban
#6 lec #15 Spring2000 5-2-2000
Process Name
TCPMUX RJE ECHO DISCARD USERS DAYTIME Quote CHARGEN FTP-DATA FTP TELNET SMTP NSW-FE MSG-ICP MSG-AUTH DSP TIME RLP GRAPHICS NAMESERV NICNAME LOGIN DOMAIN BOOTPS BOOTPC
Description
TCP Port Service Multiplexer Remote Job Entry Echo Discard Active Users Daytime Quotation of the Day Character generator File Transfer Protocol - Data File Transfer Protocol - Control Telnet Simple Mail Transfer Protocol NSW User System Front End MSG-ICP MSG Authentication Display Support Protocol Private Print Servers Time Resource Location Protocol Graphics Host Name Server Who Is Login Host Protocol Domain Name Server Bootstrap Protocol Server Bootstrap Protocol Client
EECC694 - Shaaban
#7 lec #15 Spring2000 5-2-2000
Process Name
TFTP FINGER HTTP HOSTNAME ISO-TSAP X400 X400SND CSNET-NS POP2 POP3 RPC NNTP NETBIOS-NS NETBIOS-DG NETBIOS-SS ISO-TP0 ISO-IP SQL-NET SGMP SQLSRV SGMP-TRAPS SNMP SNMPTRAP CMIP-MANAGE CMIP-AGENT XNS-Courier BGP
Description
Trivial File Transfer Protocol Finger HyperText Transfer Protocol NIC Host Name Server ISO TSAP X.400 X.400 SND CSNET Mailbox Name Server Post Office Protocol v2 Post Office Protocol v3 Sun RPC Portmap Network News Transfer Protocol NETBIOS Name Server NETBIOS Datagram Service NETBIOS Session Service ISO TP0 ISO IP SQL NET SGMP SQL Service SGMP TRAPS Simple Network Management Protocol SNMPTRAP CMIP/TCP Manager CMIP/TCP Agent Xerox Border Gateway Protocol
EECC694 - Shaaban
#8 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#9 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#10 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#11 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#12 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#13 lec #15 Spring2000 5-2-2000
Example message header when a base64-encoded JPEG image is included in the body of the message:
EECC694 - Shaaban
#14 lec #15 Spring2000 5-2-2000
The content type of a document is described in the MIME Content-Type: header using a standard list of document types and subtypes. A few are shown here.
EECC694 - Shaaban
#15 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#16 lec #15 Spring2000 5-2-2000
HTML Document
Web Clients
Web Server
EECC694 - Shaaban
#18 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#19 lec #15 Spring2000 5-2-2000
Steps of Transferring A Web Page From Server To Client Using Non-Persistent TCP Connections
http://www.rit.edu/~meseec/eecc694-spring2000/index.html
1. The HTTP client initiates a TCP connection to the server www.rit.edu. 2. The HTTP client sends a HTTP request message into the TCP connection. The request message either includes the entire URL or simply the path name /~meseec/eecc694-spring2000/index.html . 3. The HTTP server receives the request message, retrieves the object /~meseec/eecc694-spring2000/index.html from its storage, encapsulates the object in a HTTP response message, and sends the response message into the TCP connection. 4. The HTTP server tells TCP to close the TCP connection. (TCP doesn't terminate the connection until the client has received the response message) 5. The HTTP client receives the response message. The message indicates that the encapsulated object is an HTML file. The client extracts the file from the response message, parses the HTML file and finds references to a number of JPEG and GIF objects. 6. The first four steps are then repeated for each of the referenced JPEG and GIF objects.
EECC694 - Shaaban
#20 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#21 lec #15 Spring2000 5-2-2000
Carriage Return
non-persistent TCP connections. User-agent: Browser used. Accept: type of objects the browser is prepared to accept Accept-language:
EECC694 - Shaaban
#22 lec #15 Spring2000 5-2-2000
TCP connections. Date: Current GMT date Server: Server type used Last-Modified: of object Content-Length: of object Content-Type: MIME Type/sub-type of object
EECC694 - Shaaban
#23 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#24 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#25 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#26 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#27 lec #15 Spring2000 5-2-2000
EECC694 - Shaaban
#28 lec #15 Spring2000 5-2-2000
Hostname to be resolved
A network application running on beast.isc.rit.edu issues a DNS query using gethostbyname()to resolve hostname halcyon.usc.edu
EECC694 - Shaaban
#29 lec #15 Spring2000 5-2-2000