VB. NET telnet client

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2006
Posts: 2
Reputation: Fede is an unknown quantity at this point 
Solved Threads: 0
Fede Fede is offline Offline
Newbie Poster

VB. NET telnet client

 
0
  #1
Jun 29th, 2006
Hi, does anyone knows how to write a simple telnet client aplication in VB .NET Visual Studio 2005 ?

I've looked and downloaded a lot of stuff but still don't find anything that really works.

All I need is to connect from my App. to Unix via telnet and run some commands. To automate some tasks.

Thanks.
Fede
Last edited by Fede; Jun 29th, 2006 at 4:32 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 14
Reputation: thandermax is an unknown quantity at this point 
Solved Threads: 0
thandermax thandermax is offline Offline
Newbie Poster

Re: VB. NET telnet client

 
0
  #2
Jul 11th, 2006
You need to learn how to write network programming using Socket .

Use the socket to connect to a host by ip or resolve the ip by DNS search , and to the port 23.

Upon connect you need to parse the user input as a prompt .
It will be better to use the prompt returned by the ip ur connecting to .

Look in the MSDN for a simple socket application.
Hope u will get the idea.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 2
Reputation: Fede is an unknown quantity at this point 
Solved Threads: 0
Fede Fede is offline Offline
Newbie Poster

Re: VB. NET telnet client

 
0
  #3
Jul 12th, 2006
Yes thanks, I know a little bit about telnet stuff.
I've donwloaded a lot of sample code and read MSN documents but still dont find something with the right information.

By now, I succeeded to connect to the server, but i dont know how to negotiate the login process. Also I cant format to ascii the response the server gives me. I try with the function Encoding... but nothing works..
Last edited by Fede; Jul 12th, 2006 at 8:11 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 14
Reputation: thandermax is an unknown quantity at this point 
Solved Threads: 0
thandermax thandermax is offline Offline
Newbie Poster

Re: VB. NET telnet client

 
0
  #4
Jul 12th, 2006
WHAT RESPONSE IT GIVES (i.e. server ) ?

Can u give me ?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum


Views: 16560 | Replies: 3
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC