944,174 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 9875
  • C++ RSS
Apr 20th, 2006
0

how to automate telnet commands?

Expand Post »
I want to write a program in C++ that automatically opens telnet with an IP-adress too connect to a server, and read and write to this server. could somebody please tell me how to do this?
Thanks a lot...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
melmakrani is offline Offline
4 posts
since Apr 2006
Apr 20th, 2006
0

Re: how to automate telnet commands?

Maybe this should help. Not sure though.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Apr 20th, 2006
0

Re: how to automate telnet commands?

Quote originally posted by melmakrani ...
I want to write a program in C++ that automatically opens telnet with an IP-adress too connect to a server, and read and write to this server. could somebody please tell me how to do this?
Thanks a lot...
I have found the telnet tool from DART to be very useful in creating a host of screen scraping an automated tools to my unix systems. They have a .Net control and a set of C++ libraries, but I can only attest to the value of the Controls. They have saved me lots of programing hours.

http://www.dart.com/dotnet/telnet.asp
http://www.dart.com/products/

Todd Beckett
IT Guy
JDB Fine Hotels & Resorts
http://www.jdbhotels.com
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tbeckett is offline Offline
1 posts
since Apr 2006
Apr 21st, 2006
0

Re: how to automate telnet commands?

Thanks a lot, I'm trying to compile it with visual c++ but I've got a lot of errors for instance this one "fatal error C1083: Cannot open include file: 'i386/cdefs.h': No such file or directory". I'm not an experienced c++ programmer but I would like to learn it. I see that it's not so easy to just read and write from an windows- telnet window.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
melmakrani is offline Offline
4 posts
since Apr 2006
Feb 8th, 2008
0

Re: how to automate telnet commands?

hi,

you can used extraputty (free software), this software offers a DLL for Win32 application in order to access to Telnet SSH protocol to send receive data.

http://extraputty.free.fr

Asebt.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
asebt is offline Offline
1 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Help with the project......
Next Thread in C++ Forum Timeline: compile error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC