week7:Technology: Application Protocols

(一)   Application Layer(应用层)

  • 应用层的两个问题

  ①哪个应用程序获得数据?

  端口

  ②与该应用程序对话的规则是什么?

  协议

  • 端口

  IP地址的网络号确定目标网络

  IP地址的主机号确定目标主机

  端口确定特定的应用程序

  • 常见的TCP端口

  Telnet(23) -登录

  SSH(22) -安全登录

  HTTP (80)-超文本

  HTTPS(443) -安全

  SMTP(25)-邮件

  IMAP(143/220/993) -邮件检索

  POP(109/110) -邮件检索

  DNS(53) -域名

  FTP(21) -文件传输

  • HTTP - Hypertext Transport Protocol(超文本传输协议)

  ①因特网上占主导地位的应用层协议

  ②是为Web而发明的——检索HTML、图像、文档等

  ③扩展为除文档外的数据—RSS、Web服务等。

  ④基本概念-建立连接-请求文档-检索文档-关闭连接

  • 应用层总结

  ①抽象的“通道”——可以在同一个“套接字”上发送和接收数据

  ②可以选择使用SSL - Secure Socket layer(即TLS - Transport layer security)向TCP添加一个安全层

  ③使用众所周知的“端口号”,以便应用程序可以在服务器(如邮件服务器、web服务等)内找到特定的应用程序

原文地址:https://www.cnblogs.com/ZKweng/p/11232538.html

时间: 2024-08-27 21:01:07

week7:Technology: Application Protocols的相关文章

Internet History,Technology,and Security -Technology: Application Protocols(Week7)

Week7 Technology: Application Protocols This week, we’ll be covering application protocols. With reliable “pipes” available from the Transport layer, we can build applications like web browsers, file transfer applications, or email clients and server

在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unusual way.

在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unusual way. please contact the application’s support team for more information. 出现这种情况是因为缺少该程序运行所需要的动态链接库. 解决方法一:修改系统环境变量,在Path中添加Qt的bin路径就OK了.不过这只能在本机运

Xcode真机调试报错:The application could not be verified.

今天真机调试的时候遇到这个错误: The application could not be verified. 这还是第一次遇到,应该是手机上的app的证书跟如今的证书不一致导致. 解决方法有两个 xcode中切换证书: 你手机上的app用的是哪个证书,你如今还用那个证书执行. 删除手机上的app 直接删除手机上的app.再执行就能够啦! 我的博客:刚刚在线 ?

Xcode 真机调试报错:This application's application-identifier entitleme

    This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed 解决方法:1.Xcode-Window->Devices2.选中你的设备,在右边的installed Apps中删除这个App3.重新编绎即可 Xcode 真机调试报错:This

Erlang入门:构建application练习5(监督树)

1.前言 在<Erlang入门:构建application练习4(进程link的作用)>一文中, 提到了一个问题: 如果系统进程内部发生了错误而异常退出,将会出现什么情况? 在application中,像bank_center这样的系统进程,如果终止了,整个系统就无法正常运行,为了让bank_center意外终止时能自动重启,这里就要请Erlang的监督树出来帮忙了. 演示项目bank3目录结构: 2.编写监督树回调模块bank_sup.erl 监督树的回调模块只有一个函数init/1 %%

后台打印:This application is modifying the autolayout engin from a background thread,which can lead to engine corruption and weird crashes可能是因为没有在主线程刷新UI

后台打印:This application is modifying the autolayout engin from a background thread,which can lead to engine corruption and weird crashes可能是因为没有在主线程刷新UI

ASP.NET整理:Cookie,Application,Session,页面生命周期

一.设置Cookie的2种方式 1.    Repsonse.Cookie[“名”] = 值; 2.    HttpCookie hcCookie = new HttpCookie(“名”,值); hcCookie.Expires = Date.Now.AddDays(1);这里可以增加月 Response.Cookies.Add(hcCookie); 从Cookie中取值: string str = Response.Cookies[“名”].Value; 注意: 1.Cookie若没指定时间

spark-shell启动报错:Yarn application has already ended! It might have been killed or unable to launch application master

spark-shell不支持yarn cluster,以yarn client方式启动 spark-shell --master=yarn --deploy-mode=client 启动日志,错误信息如下 其中"Neither spark.yarn.jars nor spark.yarn.archive is set, falling back to uploading libraries under SPARK_HOME",只是一个警告,官方的解释如下: 大概是说:如果 spark.

Erlang入门:构建application练习4(进程link的作用)

1.示例项目(bank)简介 bank_server.erl是为客户服务的进程回调模块 bank_center.erl是为银行服务中心的进程回调模块 客户(bank_server)每年都要扣除年费 所有年费都交给银行服务中心(bank_center) 客户服务使用示例: 创建用户:bank_server:create_account(myname, 100). 用户存钱:myname ! {deposit, 10}. 用户取钱:myname ! {cash1, 20}. myname ! {ca