mosquitto-dev team mailing list archive
Mailing list archive
Re: [Question #174201]: libmosquitto : Which code checks network connectivity
Question #174201 on mosquitto changed:
Status: Open => Answered
Roger Light proposed the following answer:
If the network fails, read() and write() will fail with read_length == 0
in mosquitto_loop_read() and/or mosquitto_loop_write().
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.