Conversing with Telnet using DDE

HostExplorer Programming

Conversing with Telnet using DDE

In a DDE client/server conversation, Telnet can be used only as a DDE server. To use DDE as a server, you must first choose the Telnet DDE Server command on the Settings menu of the WyseTerm application. You cannot use Telnet as a DDE client to another application.

In order for a DDE client to establish a connection with Telnet, you must specify the following in the order listed:

  • The server’s name (in the case of Telnet, htelnet).
  • The topic it wants to have a conversation about.

You can represent this application-topic pair using the following command:

Appname|topic

For example,

Telnet|System

Once the client has established a connection, Telnet responds to the request transaction items issued. Some items return information, while other items perform functions. The most commonly used transaction items in Telnet include the following:

  • request transaction items
  • execute transaction items
    Note: 
      Check all execute transactions using the ExecReturn request transaction item.
  • poke transaction items

Related Topics

Request and Execute Syntax