Under what conditions does socket.write raise OSError 32?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
spierepf
Posts: 22
Joined: Mon Jul 08, 2019 3:22 pm

Under what conditions does socket.write raise OSError 32?

Post by spierepf » Sun Oct 17, 2021 3:21 pm

I am trying to use umqtt.simple library on the unix port of micropython and I get OSError: 32 when calling MQTTClient.ping().

The implementation of ping is just:

Code: Select all

    def ping(self):
        self.sock.write(b"\xc0\0")
What does that error indicate?

Post Reply