473,378 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

c++ and telnet

Hello

i was wondering if anyone has any examples of access and sending info
to a telnet server (with and without login)

I was hoping to find some examples in unmanged code, but managed would
do. I want to write my own class to do this, but would like a step by
step guide showing how to start off and then add my own custom
functions

I wanted to use the free download of visual c++ express 2005

I def do NOT want to use c#

I know of a opensource activex control that would do this, but i found
it cludgy and also there is the problem of always having the end user
needing to install the activex control as i cant embed it into the
program

I would use the managed gui interface for the program.

Can anyone advise please
Apr 19 '06 #1
2 1854
> i was wondering if anyone has any examples of access and sending info
to a telnet server (with and without login)

I was hoping to find some examples in unmanged code, but managed would
do. I want to write my own class to do this, but would like a step by
step guide showing how to start off and then add my own custom
functions

I wanted to use the free download of visual c++ express 2005

I def do NOT want to use c#

I know of a opensource activex control that would do this, but i found
it cludgy and also there is the problem of always having the end user
needing to install the activex control as i cant embed it into the
program

I would use the managed gui interface for the program.


Search for 'telnet' on www.codeproject.com

http://www.codeproject.com/info/sear...ed=19+Apr+2006

you will find a reasonable amount of articles with source code on telnet
server and clients. If you want to use VC2005 express you will also have to
install the latest platform SDK since it is not included by default.

--

Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"

Apr 19 '06 #2

thanks
On Tue, 18 Apr 2006 23:55:02 -0700, Bruno van Dooren
<br**********************@hotmail.com> wrote:
i was wondering if anyone has any examples of access and sending info
to a telnet server (with and without login)

I was hoping to find some examples in unmanged code, but managed would
do. I want to write my own class to do this, but would like a step by
step guide showing how to start off and then add my own custom
functions

I wanted to use the free download of visual c++ express 2005

I def do NOT want to use c#

I know of a opensource activex control that would do this, but i found
it cludgy and also there is the problem of always having the end user
needing to install the activex control as i cant embed it into the
program

I would use the managed gui interface for the program.


Search for 'telnet' on www.codeproject.com

http://www.codeproject.com/info/sear...ed=19+Apr+2006

you will find a reasonable amount of articles with source code on telnet
server and clients. If you want to use VC2005 express you will also have to
install the latest platform SDK since it is not included by default.


Apr 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dan | last post by:
I'm writing a simplistic telnet client in VB6 and I've run into a small snag. The program has a textbox to write in the string to be sent using ..SendData and has another textbox that displays...
3
by: Yannick Turgeon | last post by:
Hello all, I'm currently trying to pass commands to a telnet session and get the texte generated (stdin + stdout) by the session. The problem I get is that the Telnet.read_until() function...
4
by: Donnal Walter | last post by:
On Windows XP I am able to connect to a remote telnet server from the command prompt using: telnet nnn.nnn.nnn.nnn 23 where nnn.nnn.nnn.nnn is the IP address of the host. But using telnetlib,...
2
by: john brown | last post by:
I'm telnetting into a router. Apart from the fact I can't seem to view the output when iniciating the session, I can't match one of the expressions using Net::Telnet. I can telnet into the router...
0
by: CJ | last post by:
Can someone look at the code below and tell me whats going on? Here is the problem. I can successfully telnet one of our routers and successfully put in a command in the while statement, but...
2
by: eight02645999 | last post by:
hi i am using a telnet session to simulate an authentication mechanism USER = "user" PASSWORD = "password" try: telnet = telnetlib.Telnet(HOST) telnet.set_debuglevel(5)...
2
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote...
1
by: perlxyo999 | last post by:
Hi , I have a problem doing manipulation (like split) in string comeing back from telnet commnd : $HOST = 'xxx'; $USER = 'yyy20'; $PASS = 'yyy-pass'; #$telnet = Net::Telnet->new($HOST);...
6
by: sherrygomindes | last post by:
Hi I have written a perl script using the Telnet module. I need to remotely login in from one windows XP machine to another XP machine. But i get errors which i can't figure out the reason....
17
by: ravimath | last post by:
Dear all, I have written following script to loin to router bu it is showing error. #!c:\Perl\bin; use strict; use warnings; my $hostname = 'REMOVED FOR YOUR PROTECTION'; my $password =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.