Difference between revisions of "TTnCnx"

From Overbyte
Jump to navigation Jump to search
Line 51: Line 51:
 
| valign="top" | [[TTnCnx.Notification | Notification]] |||| ?.
 
| valign="top" | [[TTnCnx.Notification | Notification]] |||| ?.
 
|-
 
|-
| valign="top" | [[TTnCnx.Pause | Pause]] |||| Let's have a break?.
+
| valign="top" | [[TTnCnx.Pause | Pause]] |||| Pause socket operations.
 
|-
 
|-
| valign="top" | [[TTnCnx.Resume | Resume]] |||| Restart operation after a Pause.
+
| valign="top" | [[TTnCnx.Resume | Resume]] |||| Resume socket operations after a Pause.
 
|-
 
|-
 
| valign="top" | [[TTnCnx.WillOption | WillOption]] |||| ?.
 
| valign="top" | [[TTnCnx.WillOption | WillOption]] |||| ?.
Line 59: Line 59:
 
| valign="top" | [[TTnCnx.WontOption | WontOption]] |||| ?.
 
| valign="top" | [[TTnCnx.WontOption | WontOption]] |||| ?.
 
|}
 
|}
 
  
 
== Events ==
 
== Events ==

Revision as of 18:04, 2 January 2016

Main page -> ICS components reference -> TTnCnx

Overview

Unit OverbyteIcsTnCnx.pas

TTnCnx implements Telnet options negotiations on a TWSocket connection, inherits from TIcsWndControl.

Properties

Host Used to set.
LocalAddr Local Address for IPv4.
LocalAddr6 Local Address for IPv6.
LocalEcho Display sent characters on local side as well?.
Handle Window handle.
Location ?.
Name Name of the instance.
Port Port on the server side where the connection is made to.
State Status of the socket used.
Socket The socket used internally.
Tag Integer property for free usage.
TermType Type of the terminal (internally used command language).

Methods

Close Close the connection.
Connect Connect to a server.
Create Create the instance.
Destroy Free the instance.
DontOption ?.
DoOption ?.
IsConnected Does a connection exist?.
Notification ?.
Pause Pause socket operations.
Resume Resume socket operations after a Pause.
WillOption ?.
WontOption ?.

Events

OnDataAvailable Raised when data has been received.
OnDisplay ?.
OnEndOfRecord Raised when the end of a record is reached?.
OnLocalEcho Raised when ?.
OnSendLoc ?.
OnSessionClosed Raised after a close of the existing connection.
OnSessionConnected Raised upon succesfull connection of a session
OnTermType Raised when the type of the terminal has changed?.