Apollo3zehn / FluentModbus

Lightweight and fast client and server implementation of the Modbus protocol (TCP/RTU).
MIT License
188 stars 69 forks source link

Implement idle Timeout in ModbusClient #74

Open pkuehnel opened 1 year ago

pkuehnel commented 1 year ago

Am I missing something, or isn't it possible to set an idle timeout on Client connections?

Apollo3zehn commented 1 year ago

Your are right, there is no option and I also did not find any option for the underlying NetworkStream class (or do you mean Modbus RTU?).

Unfortunately I do not have much time right now to implement it but feel free to create a PR. I have labelled this issue as enhancement to put it on my to do list.