SocketTools .NET Edition

TelnetClient Class

Implements the Telnet protocol.

For a list of all members of this type, see TelnetClient Members.

System.Object
   SocketTools.TelnetClient

[Visual Basic]
Public Class TelnetClient
    Implements IDisposable
[C#]
public class TelnetClient : IDisposable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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 remote host. The TelnetClient 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 functions 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. This class can be combined with the SocketTools.Terminal component to provide complete terminal emulation services for a standard ANSI or DEC-VT220 terminal.

Requirements

Namespace: SocketTools

Assembly: SocketTools.TelnetClient (in SocketTools.TelnetClient.dll)

See Also

TelnetClient Members | SocketTools Namespace