Solved

How to program telnet?

Posted on 1997-10-01
5
399 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 95
difference between String.subString() and String.subSequence() 6 241
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 104
Way to decrease size of apk file 9 88
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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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