| | |
VB. NET telnet client
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2006
Posts: 2
Reputation:
Solved Threads: 0
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
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.
•
•
Join Date: Jun 2005
Posts: 14
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Jun 2006
Posts: 2
Reputation:
Solved Threads: 0
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..
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.
![]() |
Similar Threads
- Telnet Client (C++)
- Coding Ineternet Explorer StatusBar in .NET (ASP.NET)
- Microsoft .NET FAQ (ASP.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Sub Forms using VB 2005 Express Edition
- Next Thread: ListView in VB.Net
Views: 16560 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year





