Establish an interactive terminal session with a server.
Reference
Library Information
| Class Name |
CTelnetClient |
| File Name |
CSTNTAV7.DLL |
| Version |
7.2.7210.1845 |
| LibID |
9CE29B4A-3FD9-4520-80D2-46DC598B2C08 |
| Import Library |
CSTNTAV7.LIB |
| Dependencies |
None |
| Standards |
RFC 854 |
Overview
The Telnet protocol is used to establish a connection with a
server which provides a virtual terminal session for a user. Its
functionality is similar to how character based consoles and serial
terminals work, enabling a user to login to the server, execute
commands and interact with applications running on the server. The
class provides an interface for establishing the connection,
negotiating certain options (such as whether characters will be
echoed back to the client) and handling the standard I/O functions
needed by the program.
The class also provides methods that enable a program to easily
scan the data stream for specific sequences of characters, making
it very simple to write light-weight client interfaces to
applications running on the server. The CTelnetClient class can be
combined with the CTerminalEmulator class to provide complete
terminal emulation services for a standard ANSI or DEC-VT220
terminal.
This class supports secure connections using the standard SSL
and TLS protocols. To establish a secure connection to the server
using the Secure Shell (SSH) protocol, use the SocketTools
CSshClient class.
Requirements
The SocketTools Library Edition libraries are compatible with
any programming language that supports calling functions exported
from a standard dynamic link library (DLL). If you are using Visual
C++ 6.0 it is required that you have Service Pack 6 (SP6)
installed. It is recommended that you install all updates for your
development tools and have the current Windows SDK installed.
This library is supported on Windows XP, Windows Server 2003,
Windows Vista, Windows 7 and Windows Server 2008. If you are using
Windows XP, it is required that you have Service Pack 3 (SP3)
installed. It is recommended that all service packs and critical
updates to the Windows operating system be installed.
This product includes both 32-bit and 64-bit libraries. Native
64-bit CPU support requires the latest 64-bit version of Windows XP
Professional, Windows Server 2003 or later versions of the Windows
operating system.
Distribution
When you distribute your application that uses this library, it
is recommended that you install the file in the same folder as your
application executable. If you install the library into a shared
location on the system, it is important that you distribute the
correct version for the target platform and it should be registered
as a shared DLL. This is a standard Windows dynamic link library,
not an ActiveX component, and does not require COM
registration.
|