Fixed wrong 'following bytes' information in TCP proxy

This commit is contained in:
2025-01-21 19:26:13 +01:00
parent 96b5ee21c8
commit ec0ba31b86
7 changed files with 58 additions and 28 deletions

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AMWD.Protocols.Modbus.Common.Contracts
{

View File

@@ -1,6 +1,8 @@
using System;
using System.Diagnostics.CodeAnalysis;
#if !NET8_0_OR_GREATER
using System.Runtime.Serialization;
#endif
namespace AMWD.Protocols.Modbus.Common
{

View File

@@ -1,4 +1,6 @@
using System;
#if NET6_0_OR_GREATER
using System;
#endif
namespace AMWD.Protocols.Modbus.Common
{

View File

@@ -10,7 +10,9 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
/// </summary>
/// <remarks>
/// The Modbus RTU over Modbus TCP is rarely used.
/// It is a non-standard variant of Modbus TCP that includes wrapps a Modbus RTU message within a Modbus TCP message.
/// It is a non-standard variant:
/// You can define it as RTU message with an additional TCP header
/// or as TCP message with an additional CRC16 checksum at the end (header not included!).
/// <br/>
/// Definition found on <see href="https://www.fernhillsoftware.com/help/drivers/modbus/modbus-protocol.html">Fernhill Software</see>.
/// </remarks>