Front End for UNIX Telnet Session

collenr

New member
Joined
Jul 16, 2004
Messages
1
Programming Experience
Beginner
Hello Experts,

I am new to this forum and I hope I can get some help here, we have just recently moved over to UNIX platform and make use of Telnet. I have to configure printers on a regular basis at my branches and it is really annoying having to work in DOS type of format. I have 3 fields, QUEUE, IP and PORT and it must update the PRINTERS file in UNIX, could anyone please help me to the following:

1) Is it possible to create a FRONT END for a TELNET session?

2) How would I go about it?

I am very green with VB.NET so please, you comments is greatly appreciated as I learn more

Thanks and kind regards
 
Yes it is possible, there is an example on GotDotNet.com and I think CodeProject, I have seen it in the past.

Do a search on the sites for Telnet and it comes up.

You will have to investigate Socket programming in VB.net (system.net.sockets), I would look at the TCPClient ,Stream reader and writer classes as they are simple to set up and use. As you will also need to verify strings I would look at StringBuilders and Regular Expressions as these will help you to verify the text returned.
Mykre
 
Back
Top