Network
Network
Application Layer
our goals:
learn about protocols
conceptual, by examining popular
implementation application-level
aspects of network protocols
application protocols HTTP
transport-layer service
models FTP
client-server paradigm SMTP / POP3 / IMAP
peer-to-peer paradigm DNS
content distribution
networks
creating network
applications
socket API
server:
always-on host
permanent IP address
data centers for scaling
clients:
communicate with server
may be intermittently
client/server connected
may have dynamic IP
addresses
do not communicate
directly with each other
application application
socket controlled by
process process app developer
transport transport
network network controlled
link by OS
link Internet
physical physical
application underlying
application layer protocol transport protocol
First, a review…
web page consists of objects
object can be HTML file, JPEG image, Java applet, audio file,…
web page consists of base HTML-file which includes several
referenced objects
each object is addressable by a URL, e.g.,
www.someschool.edu/someDept/pic.gif
iPhone running
Safari browser
~
~ entity body ~
~ body
HTTP/1.0: HTTP/1.1: