createTcpClient function

ModbusClient createTcpClient (
  1. dynamic address,
  2. {int port: 502,
  3. ModbusMode mode: ModbusMode.rtu}
)

Implementation

ModbusClient createTcpClient(address, {int port = 502, ModbusMode mode = ModbusMode.rtu}) =>
    ModbusClientImpl(TcpConnector(address, port, mode));