modbus
modbus copied to clipboard
Add TCPHandlerFromConnection
This PR adds a new func for creating TCPClientHandler
using an existing net.Conn
. Some vendors like to obfuscate a regular connection inside some "encryption", or need some custom connection setup. The provided net.Conn
can be a custom layer that provides "encryption", or the user can do what needs to be done to prepare the connection first.