三次握手建连接: 建立双向通道,建立好连接。 三次握手过程: 第一次握手:建立连接时,客户端发送syn包到服务器,并进入SYN_SENT状态,等待服务器确认 第二次握手:服务器收到syn包,确认客户的SYN,同时发送一个SYN包,即SYN+ACK包,此时服务器进入SYN_RECV状态; 第三次握手: ...
分类:
其他好文 时间:
2019-10-17 23:43:20
阅读次数:
108
#include #include #include using namespace std; string sent,word; int lens,lenw,t,pos; int main() { getline(cin,word); getline(cin,sent); //!!!!!!!字符串... ...
分类:
其他好文 时间:
2019-10-17 01:28:00
阅读次数:
64
Handling Errors: If the client or server crashes, the connection will be lost. Backdoor crashes if: An incorrect command is sent. The correct command ...
分类:
编程语言 时间:
2019-10-07 13:35:48
阅读次数:
114
Ax_Download www.tenable.com/products/nessus-home,need sent email. Bx_Install su ls dpkg -i [filename] Xx_Start /etc/init.d/nessusd start open firefox ...
分类:
Web程序 时间:
2019-10-06 20:53:11
阅读次数:
151
Redis的集群方案大致有三种:1)redis cluster集群方案;2)master/slave主从方案;3)哨兵模式来进行主从替换以及故障恢复。 一、sentinel哨兵模式介绍Sentinel(哨兵)是用于监控redis集群中Master状态的工具,是Redis 的高可用性解决方案,sent ...
分类:
其他好文 时间:
2019-10-04 22:55:19
阅读次数:
117
当安装完最新版的nginx和最新版的PHP以后,使用niginx默认配置文件中的PHP配置会有错误访问指定目录下的php文件时,显示File not found.错误。查看nginx的错误日志显示 90#90: *1 FastCGI sent in stderr: "Primary script u ...
分类:
Web程序 时间:
2019-09-28 12:34:54
阅读次数:
157
我们通过了解各个 TCP 状态,可以排除和定位网络或系统故障。建立连接TCP/IP 协议中,TCP 协议提供可靠的连接服务,采用三次握手建立一个连接第一次握手:建立连接时,客户端发送 SYN 包到服务器,并进入 SYN_SENT 状态,等待服务器确认第二次握手:服务器收到 SYN 包,必须确认客户端... ...
分类:
其他好文 时间:
2019-09-28 10:48:33
阅读次数:
82
Server-sent events一个网页获取新的数据通常需要发送一个请求到服务器,也就是向服务器请求的页面。使用server-sent事件的方法,服务器可以在任何时刻向我们的web页面推送数据和信息。这些被推送进来的信息可以在这个页面上作为事件+data来处理。XMLHttpRequest让发送... ...
分类:
Web程序 时间:
2019-09-28 10:31:20
阅读次数:
94
大纲 本系列会分为2-3篇文章. 第一篇介绍SignalR的预备知识和原理 然后会介绍SignalR和如何在ASP.NET Core里使用SignalR. 本文的目录如下: 实时Web简述 Long Polling SSE (Server Sent Events) Websocket 实时Web简述 ...
分类:
Web程序 时间:
2019-09-24 15:48:58
阅读次数:
95
Java链接Redis时出现 “ERR Client sent AUTH, but no password is set” 异常的原因及解决办法 【错误提示】 redis.clients.jedis.exceptions.JedisConnectionException: Could not get ...
分类:
编程语言 时间:
2019-09-24 10:22:46
阅读次数:
88