Why is phpsocket programming divided into server-side phpsocket and client-side phpsocket?

Source: Internet
Author: User
Why is phpsocket programming divided into server-side phpsocket and client-side phpsocket? Isn't php a server ?? A little puzzled. I learned the tutorial on this website: www. codeceo. comarticl... please take a look at the server he said, client p... why should php socket programming be divided into server-side php socket and client-side php socket? Isn't php a server ?? A little puzzled.

I am learning this Web site of the tutorial: http://www.codeceo.com/articl...

What does php socket on the server end mean ??

Reply content:

Why should php socket programming be divided into server-side php socket and client-side php socket? Isn't php a server ?? A little puzzled.

I am learning this Web site of the tutorial: http://www.codeceo.com/articl...

What does php socket on the server end mean ??

Who said PHP is just a service? Pulling out and hitting pp! The premise for the LZ question is wrong.

  • First, you need to understand the meaning of the context socket: the socket here refers to the http socket, it is built on TCP/IP, mac, and optical fiber cables (Transport Layer, network layer, link layer, and physical layer). socket is commonly known as socket, it is an end-to-end communication (client/server). It is not a unilateral action. tcp determines the port, ip + mac determines the host, and host + Port is the http socket here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.