Question : Telnet Client for VB.NET?

Hi. I am in need of a telnet client for VB.net

Anybody know of one?

I mainly need to interact with a telnet server from within my code.

For that matter... I'd settle with C++ or Java if that's all that is available.

Thanks!

Answer : Telnet Client for VB.NET?

Telnet Factory for .NET
http://www.jscape.com/telnetfactorydotnet/index.html

Tutorial Telnet for .Net
http://www.jscape.com/articles/telnet_using_vb.html

Create a new Telnet instance providing the TELNET server hostname as an argument.
myTelnet = New Telnet("hostname")

Now you create the event handler methods for each of the Telnet events. See Performing option negotiation later in this article for more information about capturing and processing option negotiation events.

Public Sub OnConnected(ByVal sender As Object, ByVal e As TelnetConnectedEventArgs) Handles myTelnet.ConnectedEvent
   ' Tell user we are connected.
   Console.WriteLine("Connected to {0}:{1}", e.Host, e.Port)
End Sub

Private Sub OnDisconnected(ByVal sender As Object, ByVal e As TelnetDisconnectedEventArgs) Handles myTelnet.DisconnectedEvent
   ' Tell user we disconnected.
   Console.WriteLine("Disconnected.")
End Sub

Once a Telnet instance has been created you may establish a connection to the TELNET server by invoking the Connect() method.
myTelnet.Connect();
--------------------------------

You may finds some usualble free open source code here.
http://www.codeproject.com/internet/#Client%2FServer+Development
http://www.soft32.com/index-2-8-79-15-4.html
http://www.soft32.com/download_18451.html
http://www.codeproject.com/internet/
Random Solutions  
 
programming4us programming4us