Hi @danni , I have modified the code so that a ConnectionClosed exception is raised by recv when the socket has died. This makes it more straightforward to handle broken connections in a client application.
Please let me know if this is something of interest and whether that would be the right way to handle this.
Hi @danni , I have modified the code so that a
ConnectionClosed
exception is raised byrecv
when the socket has died. This makes it more straightforward to handle broken connections in a client application.Please let me know if this is something of interest and whether that would be the right way to handle this.