pigpio icon indicating copy to clipboard operation
pigpio copied to clipboard

Fix python pigpio socket read loop when connection is closed

Open cescobaz opened this issue 2 years ago • 0 comments

This change check the result of socket.recv and break the loop if connection is closed (recv returns 0)

Related issue: https://github.com/joan2937/pigpio/issues/563

cescobaz avatar Feb 19 '23 13:02 cescobaz