search

Home  >  Q&A  >  body text

objective-c - Is HTTP in OC based on socket?

Is HTTP in OC based on socket?

淡淡烟草味淡淡烟草味2824 days ago778

reply all(5)I'll reply

  • 大家讲道理

    大家讲道理2017-05-02 09:36:07

    Is implemented through the Socket interface.

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

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:36:07

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

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:36:07

    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.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:36:07

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

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-02 09:36:07

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

    reply
    0
  • Cancelreply