Home >Backend Development >PHP Tutorial >Why is PHP socket programming divided into server-side PHP socket and client-side PHP socket?
php socket programming Why is it divided into server-side php socket and client-side php socket? Isn't php itself the server? ? A little confused.
I studied the tutorial on this website: http://www.codeceo.com/articl...
Excuse me, please take a look. What does he mean by server side and client side php socket? ?
php socket programming Why is it divided into server-side php socket and client-side php socket? Isn't php itself the server? ? A little confused.
I studied the tutorial on this website: http://www.codeceo.com/articl...
Excuse me, please take a look. What does he mean by server side and client side php socket? ?
Who said PHP is just a server-side thing? Get out and fight PP! The questions asked by LZ are all wrong.
First of all, you have to understand the meaning of the context socket here: the socket here refers to the http socket, which is built on tcp/ip/mac/fiber cable, etc. (transport layer/network layer/link layer/entity layer) Above, socket is commonly known as socket, which is end-to-end communication (client/server), not unilateral behavior. TCP determines the port, ip+mac determines the host, and the host+port is the http socket here.