Regarding Telnet
C#
4
Posts
3
Posters
0
Views
1
Watching
-
In my application I need to use telnet to execute some commands so please help me to this. How to connect to telnet and how to execute the commands in c#.net Please help me on this Thanks in advance
prashanth, s/w Engineer, Syfnosys.
-
In my application I need to use telnet to execute some commands so please help me to this. How to connect to telnet and how to execute the commands in c#.net Please help me on this Thanks in advance
prashanth, s/w Engineer, Syfnosys.
I use System.Net.Sockets.TcpClient and System.Net.Sockets.NetworkStream.
System.Net.Sockets.TcpClient socket = new System.Net.Sockets.TcpClient ( Host , Port ) ;
socket.NoDelay = true ;
System.Net.Sockets.NetworkStream stream = socket.GetStream() ;