To keep the TCP connection alive, the PINGREQ and PINGRESP packet types need to be implemented into the codebase.
The client should periodically send a PINGREQ packet to the server, and the server should respond with a PINGRESP packet. This functionality should be handled in a new asynchronous task.
To keep the TCP connection alive, the
PINGREQ
andPINGRESP
packet types need to be implemented into the codebase. The client should periodically send aPINGREQ
packet to the server, and the server should respond with aPINGRESP
packet. This functionality should be handled in a new asynchronous task.