Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Knowledge Base

   Products   Downloads   Sales   Support   About us
  Knowledge Base  Ask Cody  Manuals  Source Code Library  Resources
 



        
 
How can I get the VT220 control to automatically send data to the server without using the windows socket control?
 
Product: Distinct VITTopic: VT220Last updated: 3/23/2008
 
Q.: How can I get the VT220 control to automatically send data to the server without using the windows socket control?
A.: First, obtain the window handle of the VT220 control. This can be done using the GetWindow function such as VT220Handle = GetWindow(Form1.hwnd, GW_CHILD) where Form1
is the form containing the VT220 control. This call assumes that the control is the only child window. Then send the WM_CHAR message to the control window for every character in the string you want to send (including the CR or CR/LF, but excluding the zero terminator). You should see each character being sent to the server and then echoed back to the client display. The server will execute the command after the line terminator has been sent.
Do you find this information useful ?       Yes   No   Not Sure




Search by Keyword


If you did not find what you are looking for:


Products

 Network Monitor
The Distinct Network Monitor is a protocol analyzer for Windows that includes both packet sniffing and network traffic statistical analysis tools.

 Intelliterm
The Most Complete Terminal Emulator for TN3270, TN5250 and DEC VT220 to VT420

 RPC for C and C++
The Fastest Way to Port Your Existing Unix-RPC Applications to Windows

  9/2/2010   Legal notices | PRIVACY Policy |