-
Sending commands to Telnet
Dear all,
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?
Dav
-
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
http://beej.us/guide/bgnet/output/ht...age/bgnet.html
DKyb-------------------------------
Life is a short warm moment -
Death is the long cold rest.
Pink Floyd
-------------------------------
-
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:
http://www.tcpipguide.com/free/t_Tel...Commands-2.htm
http://www.tcpipguide.com/free/t_Tel...Commands-3.htm
http://www.tcpipguide.com/free/t_Tel...otiation-2.htm
Similar Threads
-
By gravi2020 in forum Java
Replies: 0
Last Post: 01-15-2009, 10:06 AM
-
Replies: 1
Last Post: 06-15-2005, 12:20 PM
-
By gx_aaron in forum VB Classic
Replies: 2
Last Post: 02-17-2005, 06:56 PM
-
By estrella in forum .NET
Replies: 0
Last Post: 07-24-2002, 05:58 PM
-
By Alan Shiers in forum Java
Replies: 1
Last Post: 07-12-2002, 06:22 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks