Chapter 2 Application Layer PDF
Chapter 2 Application Layer PDF
Chapter 2 Application Layer PDF
Application Layer
Computer
Networking: A Top
Down Approach
6th edition
Jim Kurose, Keith Ross
Addison-Wesley
March 2012
clients:
v communicate with server
client/server v may be intermittently
connected
v may have dynamic IP
addresses
v do not communicate directly
with each other
Application Layer 2-7
P2P architecture
v no always-on server peer-peer
v arbitrary end systems
directly communicate
v 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
v 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
time
6. Steps 1-5 repeated for each of
10 jpeg objects
~
~ entity body ~
~ body
URL method:
v uses GET method
v 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
above lets you send email without using email client (reader)
… …
gaia.cs.umass.edu
type=A type=CNAME
§ name is hostname § name is alias name for some
§ value is IP address canonical (the real) name
type=NS § www.ibm.com is really
§ name is domain (e.g., servereast.backup2.ibm.com
foo.com) § value is canonical name
§ value is hostname of
authoritative name type=MX
server for this domain § value is name of mailserver
associated with name
2 bytes 2 bytes
identification flags