mosquitto-dev team mailing list archive
-
mosquitto-dev team
-
Mailing list archive
-
Message #00092
[Question #136316]: Socket read error while connecting the broker through modem
New question #136316 on mosquitto:
https://answers.launchpad.net/mosquitto/+question/136316
Hi,
While connecting broker through modem it showing "Socket read error on client (null), disconnecting".When the control enter in to the function "mqtt3_net_read" in net.c (if(!context->core.in_packet.have_remaining)) the value of byte before the "read_length = _mosquitto_net_read(&context->core, &byte, 1);" is 26.
After the function call "read_length = _mosquitto_net_read(&context->core, &byte, 1);" the value is changed to 0;It shows the broker was not read the value in the socket.
Please tell me any way to send data to broker.
Regards,
B.Durgadevi
--
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.