资源描述:
《客户-服务器范式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Chapter2ApplicationLayerComputerNetworking:ATopDownApproach,4thedition.JimKurose,KeithRossAddison-Wesley,July2007.Anoteontheuseofthesepptslides:We’remakingtheseslidesfreelyavailabletoall(faculty,students,readers).They’reinPowerPointformsoyoucanadd,modif
2、y,anddeleteslides(includingthisone)andslidecontenttosuityourneeds.Theyobviouslyrepresentalotofworkonourpart.Inreturnforuse,weonlyaskthefollowing:Ifyouusetheseslides(e.g.,inaclass)insubstantiallyunalteredform,thatyoumentiontheirsource(afterall,we’dlikepeople
3、touseourbook!)Ifyoupostanyslidesinsubstantiallyunalteredformonawwwsite,thatyounotethattheyareadaptedfrom(orperhapsidenticalto)ourslides,andnoteourcopyrightofthismaterial.Thanksandenjoy!JFK/KWRAllmaterialcopyright1996-2007J.FKuroseandK.W.Ross,AllRightsReserv
4、ed12:ApplicationLayerChapter2:Applicationlayer2.1Principlesofnetworkapplications2.2WebandHTTP2.3FTP2.4ElectronicMailSMTP,POP3,IMAP2.5DNS2.6P2PApplications2.7SocketprogrammingwithTCP2.8SocketprogrammingwithUDP22:ApplicationLayerVocabularyandTermClient-server
5、paradigm客户-服务器范式Peer-to-Peerparadigm对等范式WWW(WorldWideWeb)万维网HTTP(HyperTextTransferProtocol)超文本传输协议PersistentHTTP永久性/持续性HTTP32:ApplicationLayerChapter2:ApplicationLayerOurgoals:conceptual,implementationaspectsofnetworkapplicationprotocolstransport-layerservi
6、cemodelsclient-serverparadigmpeer-to-peerparadigmlearnaboutprotocolsbyexaminingpopularapplication-levelprotocolsHTTPFTPSMTP/POP3/IMAPDNS…programmingnetworkapplicationssocketAPI42:ApplicationLayerSomenetworkapplicationse-mailwebinstantmessagingremoteloginP2P
7、filesharingmulti-usernetworkgamesstreamingstoredvideoclipsvoiceoverIPreal-timevideoconferencinggridcomputing…………52:ApplicationLayerCreatinganetworkapplicationwriteprogramsthatrunon(different)endsystemscommunicateovernetworke.g.,webserversoftwarecommunicates
8、withbrowsersoftwarelittlesoftwarewrittenfordevicesinnetworkcorenetworkcoredevicesdonotrunuserapplicationsapplicationsonendsystemsallowsforrapidapplicationdevelopment,propagationapplicationtransportnetw