Dart Home | PowerTCP Emulation for ActiveX | Custom Development | Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums |
Author | Forum: PowerTCP Emulation / Telnet for ActiveX Topic: Raw Data Using VC++ |
dphill From: Tucson, AZ USA Posts: 15 Member Since: 07/16/03 |
posted July 16, 2003 5:47 PM I have the following setup: Telnet into a server; Server establishes modem connection to customer; I communicate with the customer via your tool. Now for some of our communication needs I have to transmit and receive binary data. Since I need to negotiate telnet options for authentication, I can not use the tool's AutoOption negotiation for this problem. With the binary option negotiated it seems that ANSI connections get hammered. The user can not hit the enter key and get the appropriate result on the customer's machine. Without the binary option negotiated the user can not network with the customer's machine. Both of these abilities are vital to our support strategy. I suppose I have two questions: Is there anyway to send a raw <cr> without having the <null> character padded during a binary connection? (or raw data in general?) What changes about the way in which a single <cr> is sent when the binary option has been negotiated both ways? I have been struggling with this problem for awhile now, and don't want to delve into sockets programming if your tool can solve this problem. Thanks in advance, Dan |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 17, 2003 9:37 AM Hi Dan, When TRANSMIT-BINARY has been negotiated, a naked CR is not padded with a NULL character when data is sent, and a NULL character would not be stripped when data is received. Conversely, if the option has not been negotiated, all naked CRs are padded with NULLs when data is sent, and the NULLs after CRs are stripped in received data. It sounds like you may need to switch the binary option on and off at various points in the session, which you can certainly do. -ken |
Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums |
This site is powered by
![]() |