Visual studio C# Code
$10-30 AUD
Paid on delivery
I need some simple C# code that connects to two different telnet servers and passes sanitzed strings from server 1 to server 2.
I have an example however it is not working as expected.
using System;
using [login to view URL];
using [login to view URL];
namespace EchoClient
{
class Program
{
static void Main(string[] args)
{
[login to view URL](200, 80);
TcpClient tx = new TcpClient("[login to view URL]", 23); //TX server, Input Strings
TcpClient rx = new TcpClient("[login to view URL]", 23); // RX server, Output Strings
StreamReader txr = new StreamReader([login to view URL]());
StreamWriter txw = new StreamWriter([login to view URL]());
StreamWriter rxw = new StreamWriter([login to view URL]());
try
{
[login to view URL]("echo off");
[login to view URL]("scan on");
[login to view URL]();
[login to view URL]("echo off");
[login to view URL]("scan on");
[login to view URL]();
string data = [login to view URL]();
while (data != null)
{
[login to view URL]([login to view URL]());
[login to view URL](data);
data = [login to view URL]();
}
[login to view URL]();
}
catch (Exception e)
{
}
}
}
}
Project ID: #26490003
About the project
Awarded to:
Hello, Aaron Nice to talk with you. It's a piece of cake for me, I can fix right now. I have 7+ years of experience in C#. Let's discuss more via chat Hope to be working with you
3 freelancers are bidding on average $28 for this job
i have an experience with Vb.Net and C# more than five years . i can start work today . i hope to give me this chance thank you .
Hello, I have 9 years of related experience in developing software. Especially developing C# application. Besides, I have also strong knowledge in C++. I believe I can adapt your requirements.