help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'lNet' (#LNet)

TLUdp

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

Concrete connection implementation of the UDP protocol

Declaration

Source position: lnet.pp line 320

type TLUdp = class(TLConnection)

protected

  function InitSocket(); override;

  function GetConnected; override;

  procedure ReceiveAction(); override;

  procedure SendAction(); override;

  procedure ErrorAction(); override;

  function Bail();

  procedure SetAddress();

public

  constructor Create(); override;

  

Standard constructor

  function Connect(); override;

  

"Connects" to the other side

  function Listen(); override;

  

Listens for new connections

  function Get(); override;

  

Method used to receive data from the other side

  function GetMessage(); override;

  

Method used to receive message from the other side

  function SendMessage();

  

Send a message to the other side

  function Send();

  

Send data to the other side

  function IterNext; override;

  

Get next iterator

  procedure IterReset; override;

  

Resets the socket iterator

  procedure Disconnect; override;

  

"Disconnect"

  procedure CallAction; override;

  

Eventize the connection

end;

Inheritance

TLUdp

  

Concrete connection implementation of the UDP protocol

|

TLConnection

  

Basic TCP and UDP abstraction class

|

TLComponent

  

Basic abstraction of network connections.

|

TComponent

?

TObject

Description

This is the specific connection implementation of the UDP protocol. It is used for all UDP connections in higher protocols.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505