- Added
AutoReconnectproperty to control if Telnet client is using a hearbeat to automatically reconnect to the server.
- Declare
ConnectedonITelnetinterface.
- Added
Connectedproperty to check if the Telnet client is currently connected. - Upgraded
Microsoft.Extensions.Loggingpackage to 6.0.0
- Added mutex to avoid a race-condition between sending a command and sending a heartbeat.
- Close TCP client when
WaitForMessages()exits.
- Fixed an issue where reconnecting on lost network connection would not work as expected.
- Always show host IP and port in log messages.
- Changed target framework to .NET 6.0.
- Changed
ITelnet.ConnectAsync()to not return a boolean.
- Added auto-reconnect capability. Every 15s the client tries to reconnect when the connection was lost. Send operations during that time will fail with an exception.
- Include host and port information in logging.
- Initial release.