1. Obtain the information sent by the server and process it
2. Close the socket
3. Define socket
4. Make a connection and send a heartbeat every 5 seconds
5. Determine the socket send error
1. Obtain the information sent by the server and process it
2. Close the socket
3. Define socket
4. Make a connection and send a heartbeat every 5 seconds
5. Determine the socket send error