欢迎来到天天文库
浏览记录
ID:34483516
大小:574.29 KB
页数:44页
时间:2019-03-06
《计算机网络课件 (3)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter2:ApplicationLayerChaptergoals:Morechaptergoals¶conceptual+¶specificprotocols:implementationühttpaspectsofnetworküftpapplicationprotocolsüsmtpüclientserverparadigmüpopüservicemodelsüdns¶learnaboutprotocols¶programmingbyexaminingpopularnetworkapplicationsapplica
2、tion-levelüsocketprogrammingprotocols哈工大计算机学院李全龙ComputerNetworks2:ApplicationLayer1Applicationsandapplication-layerprotocolsApplication:communicating,applicationdistributedprocessestransportnetworkdatalinkürunninginnetworkhostsinphysical“userspace”üexchangemessagestoi
3、mplementappüe.g.,email,filetransfer,theWebApplication-layerprotocolsapplicationüone“piece”ofanappapplicationtransporttransportnetworknetworküdefinemessagesdatalinkdatalinkphysicalexchangedbyappsandphysicalactionstakenülowerlayerprotocols哈工大计算机学院李全龙ComputerNetworks2:Ap
4、plicationLayer2Networkapplications:somejargon¶Aprocessisaprogram¶Auseragentisanthatisrunningwithinainterfacebetweenhost.theuserandthe¶Withinthesamehost,twonetworkprocessescommunicateapplication.withinterprocesscommunicationdefinedbyüWeb:browsertheOS.üE-mail:mailreader
5、¶Processesrunninginüstreamingdifferenthostsaudio/video:mediacommunicatewithanplayerapplication-layerprotocol哈工大计算机学院李全龙ComputerNetworks2:ApplicationLayer3Client-serverparadigmTypicalnetworkapphastwoapplicationpieces:transportclientandservernetworkdatalinkClient:physic
6、alrequest¶initiatescontactwithserver(“speaksfirst”)¶typicallyrequestsservicefromserver,¶forWeb,clientisimplementedinreplybrowser;fore-mail,inmailreaderapplicationServer:transportnetworkdatalink¶providesrequestedservicetophysicalclient¶e.g.,WebserversendsrequestedWebpa
7、ge,mailserverdeliverse-mail哈工大计算机学院李全龙ComputerNetworks2:ApplicationLayer4Application-layerprotocols(cont).API:applicationQ:howdoesaprocessprogramminginterface“identify”theother¶definesinterfaceprocesswithwhichitbetweenapplicationwantstocommunicate?andtransportlayerüIP
8、addressofhostrunningotherprocess¶socket:InternetAPIü“portnumber”-allowsütwoprocessesreceivinghosttocommunicatebysendingdeter
此文档下载收益归作者所有