Telnet Protocol


CLASS aprTelnet

 

Description
The aprTelnet Class enables an application to establish a network connection with a remote host and interact with the host through a virtual terminal.  

 

For Secure Edition information, see SLL Certificates.

 

 

 

 

Variables

 

cErr

Holds a description for the Last error code

 

Debug

Enable/Disable extended Debug notifications.

 

DebugTrace

Enable/Disable Callstack List to be included in Error Messages (:Debug)

 

LastHost

Last Resource connected to.

 

nErr

Holds the last error code

 

Session

Holds the Initial Session handle value (used as the Default Session handle)

 

 

 

Methods

 

New()

Creates a new instance of the aprTelnet Class

 

Destroy()

Releases the system resources assigned by the :New() Method.

 

 

 

 

Break()

Send a break signal to the remote host

 

Cancel()

Cancel the current blocking operation

 

Connect()

Connect to the specified server

 

ConnectEx()

Establish a secure client connection with a remote server

 

Disconnect()

Disconnect from the current server

 

GetMode()

Return the current client mode

 

GetSecurityInformation()

Return security information about the current client connection (see SSL )

 

GetSocket()

Return the current session socket

 

GetTerminalType()

Return the current terminal type

 

IsBlocking()

Determine if the client is blocked, waiting for information

 

IsThere()

Determine if the server is available

 

Read()

Read data returned by the server

 

SetLastError()

Set the last error code

 

SetMode()

Set the current client mode

 

SetTerminalType()

Set the current terminal type

 

Timeout()

Get/Set the number of seconds until an operation times out

 

Trace()

Enable/Disable logging of socket-level calls to the trace log

 

Write()

Write data to the server