using System.Net; using System.Net.Sockets; namespace AMWD.Protocols.Modbus.Tcp.Utils { /// [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] internal class IPEndPointWrapper(EndPoint endPoint) { private readonly IPEndPoint _ipEndPoint = (IPEndPoint)endPoint; #region Properties /// public virtual IPAddress Address { get => _ipEndPoint.Address; set => _ipEndPoint.Address = value; } /// public virtual int Port { get => _ipEndPoint.Port; set => _ipEndPoint.Port = value; } #endregion Properties } }