how to automate telnet commands?

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2006
Posts: 4
Reputation: melmakrani is an unknown quantity at this point 
Solved Threads: 0
melmakrani melmakrani is offline Offline
Newbie Poster

how to automate telnet commands?

 
0
  #1
Apr 20th, 2006
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...
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: how to automate telnet commands?

 
0
  #2
Apr 20th, 2006
Maybe this should help. Not sure though.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 1
Reputation: tbeckett is an unknown quantity at this point 
Solved Threads: 0
tbeckett tbeckett is offline Offline
Newbie Poster

Re: how to automate telnet commands?

 
0
  #3
Apr 20th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 4
Reputation: melmakrani is an unknown quantity at this point 
Solved Threads: 0
melmakrani melmakrani is offline Offline
Newbie Poster

Re: how to automate telnet commands?

 
0
  #4
Apr 21st, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1
Reputation: asebt is an unknown quantity at this point 
Solved Threads: 0
asebt asebt is offline Offline
Newbie Poster

Re: how to automate telnet commands?

 
0
  #5
Feb 8th, 2008
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.
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 C++ Forum


Views: 7449 | Replies: 4
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC