Why should php socket programming be divided into server php socket and client php socket? Php itself is not a server? ? A little puzzled.
I studied the tutorial of this website:http://www.codeceo.com/articl …
Please look at the great god, he said that the server, the client php socket is What Do You Mean? ?
First of all, you have to understand the meaning of socket in this context: socket here refers to http socket, which is built on tcp/ip/mac/ optical fiber cable (transport layer/network layer/link layer/physical layer). socket is commonly known as socket, which is end-to-end communication (client/server), not unilateral behavior. tcp determines port, ip and mac determine host, and host plus port is http socket here.