Using VB as a Telnet host

Posted on 2000-04-17
Medium Priority
Last Modified: 2013-11-13
I have a VB application running as a service in NT 4 and I want to implement some telnet HOST functionality so I can control some of the application functions using a standard telnet client. Someone knows about any script or freeware ocx to do this? I'm already using winsock components on this application.
Question by:gorcutt
  • 2

Expert Comment

ID: 2723658
If you use the Microsoft Winsock Control, you can develop your own host software quite easily. Check out the help page in the MSDN library on the Winsock control (About a page of info) and you can pick up all of the neccessary commands for TCP connection. (Make sure you dont try to use UDP protocol with telnet)

Author Comment

ID: 2723708
The application is already a specific TCP host. I'm just looking for some ready to use routine or OCX just to make things easy and faster. I'm quite busy right now so I was looking for something easy to implement.

Accepted Solution

Ask_ED earned 400 total points
ID: 2723779

At the following site they have a couple of examples of Telnet servers in VB


search for 'razon'
search for 'priest'

NOTE: Each author has a number of submisions, so look for the Telnet sample.

Hope this helps

Author Comment

ID: 2723897
Hi ED,
This URL is a great source of solutions.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

624 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