Dec 9, 2004 #1 bungpeng Senior Contributor Joined Sep 10, 2002 Messages 906 Location Malaysia I want to use .NET to telnet remote machine, send some command and received some response, may I know how to do that? TQ
I want to use .NET to telnet remote machine, send some command and received some response, may I know how to do that? TQ
Dec 10, 2004 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK You would probably find it easiest using something like System.Net.TcpClient and a simple StreamReader / StreamWriter to send and receive data.
You would probably find it easiest using something like System.Net.TcpClient and a simple StreamReader / StreamWriter to send and receive data.
Dec 10, 2004 #3 bungpeng Senior Contributor Joined Sep 10, 2002 Messages 906 Location Malaysia PlausiblyDamp said: You would probably find it easiest using something like System.Net.TcpClient and a simple StreamReader / StreamWriter to send and receive data. Click to expand... I am looking for TcpClient, but still not sure how to use, any simple example there? Thank you
PlausiblyDamp said: You would probably find it easiest using something like System.Net.TcpClient and a simple StreamReader / StreamWriter to send and receive data. Click to expand... I am looking for TcpClient, but still not sure how to use, any simple example there? Thank you