My problem is the problem that occurs in the following situations. solve the problem... {code ...} my problem is the problem that occurs in the following situations. solve the problem...
Chat between a and B, right ?? Socket communication: socket_server.php communicates with socket_client.php, right ?? Now we need to implement a and B chat. In my understanding, neither a nor B can play the socket_server.php role, because socket_server.php is used to enable the communication port and receive or push messages in real time as the server port. So the question is: if both a and B are client_server.php, then the socket programming I learned is not a waste ?? Because socket communication is the communication between socket_server.php and client_server.php, rather than between client_server.php and client_server.php (similar to communication between a and B), I am so worried. I do not know how to crack it ?? Or am I wrong about socket communication ?? No matter which one, please correct it! It is best to give me a simple example that I can write for myself. I don't want to catch all the tricks on the internet. they will almost make me understand what this problem is now... ask for advice!