bobjacobsen / python-openlcb

MIT License
2 stars 1 forks source link

Add settimeout and re-raise KeyboardInterrupt (resolves #6)... #41

Closed Poikilos closed 4 months ago

Poikilos commented 4 months ago

Expose the underlying socket settimeout method in TcpSocket to mimic socket's standard behavior (and re-raise KeyboardInterrupt) to allow an application to circumvent blocking io on the same thread.