telnet samples

This commit is contained in:
2023-05-11 18:10:26 +09:00
parent b469188f28
commit 59f0977eaf
5 changed files with 279 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp.TelnetSamples
{
public interface ITelnetClient
{
string Connect(string ip, int port = 23);
string Read();
string SendCommand(string command);
void Close();
}
}