Apollo3zehn / FluentModbus

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

Connect fails if port is not specified #69

Closed seikosantana closed 2 years ago

seikosantana commented 2 years ago

I am using ModbusTCP client to connect to an IP address _modbusTcpClient.Connect("192.168.100.68", ModbusEndianness.BigEndian);

It fails if I don't add :502 after the IP address. Is this expected behavior, since it says default port is 502?

Thanks in advance

Apollo3zehn commented 2 years ago

You are right l, this should work without adding a port. I will investigate it on Monday.

Apollo3zehn commented 2 years ago

This is fixed now in version v4.0.0-preview.3.