Sending commands to Telnet
I am using C Programming language. I am currently using VT100 emulation on my HyperTerminal as a Telnet program.
Let's say I want to send certain commands to the HyperTerminal or Telnet for example, change you emulation from VT100 to TTY, etc...
Anyone has experience on this? Manipulating the Telnet environment with C Programming?
came across this just recently. It's a funny, easy to read introduction.
Hats off! Didn't verify that everything is 100% uptodate, but defo gives you enough insight to start you off for further research
Life is a short warm moment -
Death is the long cold rest.
from the server first send an IAC DO TERMINAL-TYPE
the client will respond with IAC WILL TERMINAL-TYPE if it supports terminal type negotiation.
negotiate with the client using this sequence as many times as needed.
server: IAC SB TERMINAL-TYPE SEND IAC SE
client: IAC SB TERMINAL-TYPE IS DEC-VT220 IAC SE (responds with one of the terminal type it supports.)
for details see RFC 1091 http://www.faqs.org/rfcs/rfc1091.html
if you are unfamiliar with the telnet protocol, you may want to first read these:
By gravi2020 in forum Java
Last Post: 01-15-2009, 11:06 AM
Last Post: 06-15-2005, 01:20 PM
By gx_aaron in forum VB Classic
Last Post: 02-17-2005, 07:56 PM
By estrella in forum .NET
Last Post: 07-24-2002, 06:58 PM
By Alan Shiers in forum Java
Last Post: 07-12-2002, 07:22 AM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL