Telnet Protocol Class Methods  
 
Class Description
CTelnetClient Constructor which initializes the current instance of the class.
~CTelnetClient Destructor which releases resources allocated by the class.
Method Description
Abort Abort the current session and close the connection with the server.
AttachHandle Attach the specified client handle to this instance of the class.
AttachThread Attach the specified client handle to another thread.
Break Send a break signal to the server.
Cancel Cancel the current blocking operation.
Connect Connect to the specified server.
CreateSecurityCredentials Create a new security credentials structure.
DeleteSecurityCredentials Delete a previously created security credentials structure.
DetachHandle Detach the handle for the current instance of this class.
DisableEvents Disable asynchronous event notification.
DisableTrace Disable logging of network function calls.
Disconnect Disconnect from the current server.
EnableEvents Enable asynchronous event notification.
EnableTrace Enable logging of network function calls to a file.
FreezeEvents Suspend asynchronous event processing.
GetErrorString Return a description for the specified error code.
GetHandle Return the client handle used by this instance of the class.
GetLastError Return the last error code.
GetMode Return the current client mode.
GetSecurityInformation Return security information about the current client connection.
GetStatus Return the current client status.
GetTerminalType Return the current terminal type.
GetTimeout Return the number of seconds until an operation times out.
IsBlocking Determine if the client is blocked, waiting for information.
IsConnected Determine if the client is connected to the server.
IsInitialized Determine if the class has been successfully initialized.
IsReadable Determine if data can be read from the server.
IsThere Determine if the server is available.
IsWritable Determine if data can be written to the server.
Login Login to the server using the specified username and password.
Read Read data returned by the server.
ReadLine Read a line of text from the server and return it in a string buffer.
RegisterEvent Register an event callback function.
Search Search for a specific character sequence in the data stream.
SetLastError Set the last error code.
SetMode Set the current client mode.
SetTerminalType Set the current terminal type.
SetTimeout Set the number of seconds until an operation times out.
ShowError Display a message box with a description of the specified error.
TelnetEventProc Callback function that processes events generated by the client.
Write Write data to the server.
WriteLine Write a line of text to the server.