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

TLSocket

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

Declaration

Source position: lnet.pp line 74

type TLSocket = class(TLHandle)

protected

  FAddress: TLSocketAddress;

  

  FPeerAddress: TLSocketAddress;

  

  FReuseAddress: Boolean;

  

  FConnectionStatus: TLSocketConnectionStatus;

  

  FNextSock: TLSocket;

  

  FPrevSock: TLSocket;

  

  FSocketState: TLSocketStates;

  

  FOnFree: TLSocketEvent;

  

  FBlocking: Boolean;

  

  FListenBacklog: Integer;

  

  FProtocol: Integer;

  

  FSocketType: Integer;

  

  FSocketNet: Integer;

  

  FCreator: TLComponent;

  

  FSession: TLSession;

  

  FConnection: TLConnection;

  

  function GetConnected; virtual; deprecated ;

  

  function GetConnecting; virtual; deprecated ;

  

  function GetConnectionStatus; virtual;

  

  function GetIPAddressPointer;

  

  function GetIPAddressLength;

  

  function SetupSocket(); virtual;

  

  function DoSend(); virtual;

  

  function DoGet(); virtual;

  

  function HandleResult(); virtual;

  

  function GetLocalPort;

  

  function GetPeerPort;

  

  function GetPeerAddress;

  

  function GetLocalAddress;

  

  function SendPossible;

  

  function ReceivePossible;

  

  procedure SetOptions; virtual;

  

  procedure SetBlocking();

  

  procedure SetReuseAddress();

  

  procedure HardDisconnect();

  

  procedure SoftDisconnect;

  

  function Bail();

  

  function LogError(); virtual;

  

  property SocketType: Integer; [rw]

  

public

  constructor Create; override;

  

  destructor Destroy; override;

  

  function SetState(); virtual;

  

  function Listen();

  

  function Accept();

  

  function Connect();

  

  function Send(); virtual;

  

  function SendMessage();

  

  function Get(); virtual;

  

  function GetMessage();

  

  procedure Disconnect(); virtual;

  

  property Connected: Boolean; [r] deprecated ;

  

  property Connecting: Boolean; [r] deprecated ;

  

  property ConnectionStatus: TLSocketConnectionStatus; [r]

  

  property ListenBacklog: Integer; [rw]

  

  property Protocol: Integer; [rw]

  

  property SocketNet: Integer; [rw]

  

  property PeerAddress: string; [r]

  

  property PeerPort: Word; [r]

  

  property LocalAddress: string; [r]

  

  property LocalPort: Word; [r]

  

  property NextSock: TLSocket; [rw]

  

  property PrevSock: TLSocket; [rw]

  

  property SocketState: TLSocketStates; [r]

  

  property Creator: TLComponent; [r]

  

  property Session: TLSession; [r]

  

end;

Inheritance

TLSocket

  

|

TLHandle

  

|

TObject



CT Web help

CodeTyphon Studio