Question: Hyperterminal-like Console Application

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

I want to create a custom console application that is similar to
HyperTerminal.

Given an ip/port it will connect via TCP and allow the users to type
commands to a certain piece of hardware (querying for info, etc..) The
"results" will be sent from the hardware back to the console app. These
results will appear on the console screen, then the user can type in another
command.

Any samples (or good reference links) of how to handle the TCP connection,
sending, getting/processing the data coming in, streams, etc...?

Thanks!
 
Hi,

There are TCP examples in the 101 VB .NET examples that you can download
from www.msdn.microsoft.com. These are not Console apps, but Windows Forms.
However, I don't think a console makes a very good terminal, anyway.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top