![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络专题
网络
风之翼狼牙
这个作者很懒,什么都没留下…
展开
-
TCP连接及释放
三次握手:发送了三次报文 1.SYN=1(同步号),seq=x(序列号),服务器监听状态,监听到客户机报文。 2.服务器发送SYN=1,ACK=1(确认位,代表确认位有没有意义),ack=x+1(确认位字段的值),seq=y(序列号)。 3.ACK=1,seq=x+1,ack=y+1,确认服务器发送的确认报文,客户机收到了。 客户机发送的seq连续,说明中间没有发送过其他报文 其实两次握手就够了,为什么要第三次? 因为TCP连接会超时重传,如果发送的第一个报文堵塞在网络中,客户机迟迟没有接到服务器的返回报文原创 2021-02-24 16:53:15 · 159 阅读 · 0 评论 -
unity 与web服务器交互官方参考文档
参考文档https://docs.unity3d.com/2017.3/Documentation/Manual/UnityWebRequest-HLAPI.html原创 2021-03-02 09:24:57 · 210 阅读 · 0 评论 -
unity网络加载socket
#define Test using System; using System.Collections; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngine; using System.Linq; using Newtonsoft.Json; using System.IO; usi原创 2021-08-14 17:16:51 · 171 阅读 · 0 评论