Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to program telnet?

Posted on 1997-10-01
5
Medium Priority
?
467 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 210 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

971 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