Solved

How to program telnet?

Posted on 1997-10-01
5
349 Views
Last Modified: 2013-11-19
Hello,

I have an application (record set) and I need to incorporate a telnet program into it.  What it needs to do is dial either a local or long distance number to a BBS line.  It needs to upload/download files into this BBS.  It must support ANSI or ANSI_BBS.  Is there a way to program this?  If so, how (is it called TAPI)?  Or are there freeware programs out there that I can incorporate into my application?

thanks, i would appreciate any help
david
0
Comment
Question by:dchau
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 70 total points
ID: 1307305
What you need is Windows socket programming.

A console telnet application with source code
http://www.itribe.net/virtunix/telc10a.zip
0
 

Author Comment

by:dchau
ID: 1307306
Hello chensu,

Thanks for replying.  Sorry, it has taken me this long for a comment.  I visited that site but the owner of the site said the source code is not completely done.  I took a look at it and I don't see any application of TAPI.  Is this right?  Can you briefly tell me how to go about in starting the telnet program?

thanks
david
0
 
LVL 23

Expert Comment

by:chensu
ID: 1307307
It has nothing do to with TAPI. Telnet programs involve Windows Socket programming and Telnet protocol. You may go to the following Web sites to get more information.

http://www.sockets.com
http://www.winsock.com
http://www.goodnet.com/~esnible/winsock.html
http://www.progsource.com/c_windows.html

0
 

Author Comment

by:dchau
ID: 1307308
Hello Chensu,

Thanks for all the links.  I checked them out but there were some that listed books that can help.  The problem is that all the books are on connecting with the internet.  Would you happen to know any books that would help me for my situation?

thanks Chensu
David
0
 
LVL 23

Expert Comment

by:chensu
ID: 1307309
Actually, the program you are writing is not a Telnet program but a BBS program. Therefore, it is not related to the Internet, Winsock and the Telnet protocol. I have never done a BBS program. I think Windows communications API can be used and Telephony API probably. I am sorry that I cannot give you any useful help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 48
difference between String.subString() and String.subSequence() 6 168
MaxSpan challenge 9 79
mapBully challenge 6 113
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now