objective-c - OC中Http 是不是基于socket的?
淡淡烟草味
淡淡烟草味 2017-05-02 09:34:07
0
5
745

OC中Http 是不是基于socket的?

淡淡烟草味
淡淡烟草味

reply all(5)
大家讲道理

Is implemented through the Socket interface.

To be precise, the HTTP protocol is based on TCP/IP, and Socket is a programming interface.

習慣沉默

Definitely. The TCP/UDP protocols of various systems are based on the Socket network interface. HTTP is built on top of TCP.

过去多啦不再A梦

Basically it is done through socket, after all it is one of the ways of interaction between systems. HTTP is an application layer protocol, and socket is an encapsulation of a system interface of TCP/UDP. Naturally speaking, HTTP realizes interaction with the remote host through socket.

習慣沉默

Http encapsulated by any system, any language, and any framework is based on Socket.

仅有的幸福

Pictures found on the Internet: can help you understand the relationship between HTTP, Socket, and TCP/IP (HTTP is the application layer protocol)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template