Unit 'lNet' Package
[Overview][Constants][Types][Classes][Index] [#pl_lnet]

TLTcp

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: lnet.pp line 346

type TLTcp = class(TLConnection)

protected

  FSocketNet: Integer;

  

  FCount: Integer;

  

  FReuseAddress: Boolean;

  

  function InitSocket(); override;

  

  function GetConnected; override;

  

  function GetConnecting;

  

  function GetCount; override;

  

  function GetValidSocket;

  

  procedure SetReuseAddress();

  

  procedure SetSocketNet();

  

  procedure ConnectAction(); override;

  

  procedure AcceptAction(); override;

  

  procedure ReceiveAction(); override;

  

  procedure SendAction(); override;

  

  procedure ErrorAction(); override;

  

  function Bail();

  

  procedure SocketDisconnect();

  

public

  constructor Create(); override;

  

  function Connect(); override;

  

  function Listen(); override;

  

  function Get(); override;

  

  function GetMessage(); override;

  

  function Send(); override;

  

  function SendMessage(); override;

  

  function IterNext; override;

  

  procedure IterReset; override;

  

  procedure CallAction; override;

  

  procedure Disconnect(); override;

  

  property Connecting: Boolean; [r]

  

  property OnAccept: TLSocketEvent; [rw]

  

  property OnConnect: TLSocketEvent; [rw]

  

  property ReuseAddress: Boolean; [rw]

  

  property SocketNet: Integer; [rw]

  

end;

Inheritance

TLTcp

  

|

TLConnection

  

|

TLComponent,ILDirect,ILServer,ILClient

  

|

TObject,ILComponent



CT Web help

CodeTyphon Studio