The windows telnet applaction is crap, and I would like to have the ability to do macros, and have auto logins, and do a number of other things that window's telnet doesn't do.<br>
Sounds like you're starting pretty much from scratch here - could be fun <grin>.<br>
<br>
Have a look at the Winsock control - that's not bad and it will shield you from the nastiness of sockets a little.<br>
<br>
The telnet protocol is not the most complicated of things but should keep you busy for a while. It is described in <A HREF="
which makes for some nice bedtime reading.<br>
<br>
As a start (and it is just that - a start) use the winsock control to connect to a host (which will accept telnet connections) on port 23. Look at the data you get sent. Your program will have to interpret the control data and behave itself to be any fun.<br>
<br>
Mind you ask the sysadmin of the host you connect to - it would p*ss me off if someone did that without telling me as it's the kind of thing you look out for when hackers are about.<br>
<br>
Mike<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href=
I have used the winsock control to connect and that works fine but the thing that gets me is the VT/100 emulation. When I cannect to most sites with windows telnet I get a nice Login: with my app I get a bunch of command block characters and somewhere in the mess is Login:. My output also appears after I put another command in but thats a problem in updating the text box from the winsock. So my main question is: How do I emulate the VT/100, ANSI, and other termanels?<br>
<br>
Thanks<br>
Erik
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.