- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ch2 Application Layer
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2: Application Layer * P2P: centralized directory 1) when peer connects, it informs central server: IP address content 2) Alice queries for “Yesterday Once More” 3) Alice requests file from Bob centralized directory server peers Alice Bob 1 1 1 1 2 3 2: Application Layer * P2P: problems with centralized directory Single point of failure Performance bottleneck Copyright infringement 2: Application Layer * Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P file sharing 2.7 Socket programming with TCP 2.8 Socket programming with UDP 2.9 Building a Web server 2: Application Layer * Socket programming(套接字编程) Socket API introduced in BSD4.1 UNIX, 1981 explicitly created, used, released by apps client/server paradigm two types of transport service via socket API: unreliable datagram reliable, byte stream-oriented a host-local, application-created应用程序生成的, OS-controlled interface (a “door”)(操作系统控制的)接口 into which application process can both send and receive messages to/from another application process(应用程序可以通过它向另一个应用发送或接收消息) socket Goal: learn how to build client/server application that communicate using sockets 2: Application Layer * Socket-programming using TCP Socket: a door between application process(应用进程) and end-end-transport protocol (端到端传输协议)(UCP or TCP) TCP service: reliable transfer of bytes from one process to another process TCP with buffers, variables socket controlled by application developer controlled by operating system host or server process TCP with buffers, variables socket controlled by application developer controlled by operating system host or server internet 2: Application Layer * Socket programming with TCP(基于TCP的套接字编程) Client must contact server server process must first be running server must have created socket (
您可能关注的文档
- 声明:本资料由恩波教育提供,授权考试吧(Exam8.doc
- Unit 2 A History of the United Kingdom.doc
- 大学英语创意阅读第2册第1单元答案.doc
- 英国部分复习题.doc
- 英语国家概况选择题 精选 含答案.doc
- 鄂尔多斯盆地油气地质与勘探_英文_.docx
- R12诊断ReceivingOpenInterface详解.doc
- 英美文化1讲义.doc
- prep cr 错题集.doc
- 函数的间断点.docx
- 西方经济学 06任务0010 100分答案.docx
- chapter three British History (I) new.ppt
- Internet protocol stack.ppt
- 计算机网络(自顶向下)Chapter2.ppt
- 关于约翰.弥尔顿(John Milton)作品及生平的英文ppt.ppt
- Project Integration Management October 26, 2004.ppt
- Gen Psyc 06 - Learning BLACKBOARD.ppt
- Milton.ppt
- ReproCHAMPS04LDFCH.ppt
- 美国的成立chapter IV the shaping of the nation.ppt
文档评论(0)