10035 network error
Hello Roger,
I am writing a small program using Mosquitto.
I get a lot of 10035 socket error messages causing a disconnect. According to Microsoft this is a nonfatal error (http://
I added some extra debug code to Mosquitto.py and noticed that the error is always caused at the following method:
def _packet_read(self):
I've added the following piece of code (hack) to it:
if msg.errno == 10035
return MOSQ_ERR_SUCCESS
This causes the Mosquitto object to keep working. I've tested it for a while (on my system, win 7 32 bit, python 2.7) and noticed that my program works ok and without strange disconnects. What I also noticed is that the error usually occurs around 10 times in a row.
I don't know if I am the only one experiencing this problem and it's worth more investigating but I thought it was worth sharing it :)
Cheers and keep up the good work!!
JR
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Roger Light
- Solved:
- Last query:
- Last reply: