(Based on TCP socket, Android client communicates with PC, and client source code. It is now tested and available. By the way, APK and network debugging helper are convenient for testing. Just provide the IP and port number of the server to communicate. Client: One connection, multiple data can be sent. The key point is that the client always receives the data sent by the server. Choose Handler and Thead.)