illustrate
1. Short connections generally only communicate read and write operations between the client and the server. Short connection management is simple. The existing connections are useful connections and do not require additional control methods.
2. Operation steps: establishing connection, data transmission, and closing connection.
They are
The client makes a connection request to the server.
The server receives the request and the two parties establish a connection.
The client sends information to the server.
The server reacts to the client.
After a read and write is completed, both parties can start the close operation. Generally speaking, the client starts the close operation first. Because the general server will close the connection if it does not reply to the client.
The above is the introduction of PHP short connection, I hope it will be helpful to everyone.