中国开发网: 论坛: 程序员情感CBD: 贴子 377697
老玉米
真要是抠字眼的话,rfc规范也没有规定http一定要用tcp来实现
On the Internet, HTTP communication generally takes place over TCP/IP
connections. The default port is TCP 80 [15], but other ports can be
used. This does not preclude HTTP from being implemented on top of
any other protocol on the Internet, or on other networks. HTTP only
presumes a reliable transport; any protocol that provides such
guarantees can be used, and the mapping of the HTTP/1.0 request and
response structures onto the transport data units of the protocol in
question is outside the scope of this specification.


不过http确实是每次要建立连接的,我以前的理解有点问题

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录