Refactoring connection to use an idle timeout and automatically close the underlying data channel
This commit is contained in:
@@ -21,6 +21,7 @@ namespace AMWD.Protocols.Modbus.Tcp.Utils
|
||||
_stream = stream;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="NetworkStream.Dispose" />
|
||||
public virtual void Dispose()
|
||||
=> _stream.Dispose();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user