good gracious that code does alot. I wish there was someone who write a book on telnet and what it all does, so when someone looks at some code, he actually can know what is happening.

What I am attempting to do is make an activeX control, which will use the winsock control, and will allow a developer three options:

login
logout
exchange

that way any kind of langauge a developer wanted to use such as vb, vc++, asp etc. could use this control to create a telnet session. I just think it is a cool project. But it is also proving to be quite difficult.