ljean / modbus-tk

Create Modbus app easily with Python
Other
557 stars 211 forks source link

added on_exception hook for Server class. #169

Closed yawnwest closed 1 year ago

yawnwest commented 1 year ago

I created a hook "on_exception" for the Server class to get notified when a modbus TCP server cannot be created as the requested port is already in use. I also removed some additional whitespaces.

PS: Thanks for the great and easy to use implementation of the modbus protocol :)!

ljean commented 1 year ago

Merged! Thanks for the contribution