Chapter2 Modified
Chapter2 Modified
Application Layer
clients:
communicate with server
client/server may be intermittently
connected
may have dynamic IP
addresses
do not communicate directly
with each other
Application Layer 2-7
P2P architecture
no always-on server peer-peer
arbitrary end systems
directly communicate
peers request service from
other peers, provide service
in return to other peers
self scalability – new
peers bring new service
capacity, as well as new
service demands
peers are intermittently
connected and change IP
addresses
complex management
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
end-point
authentication
Application Layer 2-17
Chapter 2: outline
2.1 principles of network
applications
app architectures
app requirements
2.2 Web and HTTP
2.3 electronic mail
SMTP, POP3, IMAP
2.4 DNS
time
6. Steps 1-5 repeated for each of 10
jpeg objects
~
~ entity body ~
~ body
URL method:
uses GET method
input is uploaded in URL
field of request line:
www.somesite.com/animalsearch?monkeys&banana
ebay 8734
usual http request msg Amazon server
cookie file creates ID
usual http response
1678 for user create backend
ebay 8734
set-cookie: 1678 entry database
amazon 1678
usual http request msg
cookie: 1678 cookie- access
specific
usual http response msg action
… …
gaia.cs.umass.edu
2 bytes 2 bytes
identification flags
Introduction 1-70
application
packet (www browser,
OS
packet Transport (TCP/UDP)
copy of all Network (IP)
capture Ethernet
frames Link (Ethernet)
(pcap) sent/receive
d Physical