Marwan141 / MinQTT

A minimalistic implementation of an MQTT Client library, with built-in encryption options.
2 stars 0 forks source link

Implement PINGREQ and PINGRESP packets #3

Closed Marwan141 closed 1 month ago

Marwan141 commented 1 month ago

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.