7层协议:
tcp连接和断开(三次握手和四次挥手):
http协议(http1.0和http1.1/https):
socket通信(和http比较):
socket效率高,至少不用解析http报文部一些字段
cookie和session(还有cache):
7层协议:
tcp连接和断开(三次握手和四次挥手):
http协议(http1.0和http1.1/https):
socket通信(和http比较):
socket效率高,至少不用解析http报文部一些字段
cookie和session(还有cache):