mosquitto-dev team mailing list archive
-
mosquitto-dev team
-
Mailing list archive
-
Message #00145
Re: [Question #174201]: libmosquitto : Which code checks network connectivity
Question #174201 on mosquitto changed:
https://answers.launchpad.net/mosquitto/+question/174201
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.