TWinsock2UDPServer
From Ultibo.org
Return to Unit Winsock2
Description
To be documented
Class definitions
TWinsock2UDPServer = class(TWinsock2UDPSocket)
Note: Datagram Server classes | |
public
| |
constructor Create(AListener:TWinsock2UDPListener);
|
|
destructor Destroy; override;
|
|
private
| |
FPeerPort:Word;
|
|
FPeerAddress:String;
|
|
FUseListener:Boolean;
|
|
FListener:TWinsock2UDPListener;
|
|
procedure SetUseListener(AUseListener:Boolean);
|
|
protected
| |
FBuffer:TWinsock2UDPServerBuffer;
|
|
function GetData:Pointer; virtual;
|
|
function GetSize:Integer; virtual;
|
|
function GetCount:Integer; virtual;
|
|
procedure SetBuffer(ABuffer:TWinsock2UDPServerBuffer); virtual;
|
|
procedure SetLastError(ALastError:LongInt); virtual;
|
|
public
| |
property PeerPort:Word read FPeerPort;
|
|
property PeerAddress:String read FPeerAddress;
|
|
property UseListener:Boolean read FUseListener write SetUseListener;
|
|
property Listener:TWinsock2UDPListener read FListener;
|
|
property Buffer:TWinsock2UDPServerBuffer read FBuffer;
|
|
property Data:Pointer read GetData;
|
|
property Size:Integer read GetSize;
|
|
property Count:Integer read GetCount;
|
|
function RecvData(AData:Pointer; ACount:Integer):Integer; override;
|
|
function SendData(AData:Pointer; ACount:Integer):Integer; override;
|
|
function BroadcastData(APort:Word; AData:Pointer; ACount:Integer):Integer; override;
|
|
function RecvDataFrom(var AHost:String; var APort:Word; AData:Pointer; ACount:Integer):Integer; override;
|
|
function SendDataTo(const AHost:String; APort:Word; AData:Pointer; ACount:Integer):Integer; override;
|
|
function BroadcastDataTo(const AAddress:String; APort:Word; AData:Pointer; ACount:Integer):Integer; override;
|
Function declarations
constructor TWinsock2UDPServer.Create(AListener:TWinsock2UDPListener);
Description: To be documented
Note | None documented |
---|
destructor TWinsock2UDPServer.Destroy;
Description: To be documented
Note | None documented |
---|
procedure TWinsock2UDPServer.SetUseListener(AUseListener:Boolean);
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.GetData:Pointer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.GetSize:Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.GetCount:Integer;
Description: To be documented
Note | None documented |
---|
procedure TWinsock2UDPServer.SetBuffer(ABuffer:TWinsock2UDPServerBuffer);
Description: To be documented
Note | None documented |
---|
procedure TWinsock2UDPServer.SetLastError(ALastError:LongInt);
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.RecvData(AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.SendData(AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.BroadcastData(APort:Word; AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.RecvDataFrom(var AHost:String; var APort:Word; AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.SendDataTo(const AHost:String; APort:Word; AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
function TWinsock2UDPServer.BroadcastDataTo(const AAddress:String; APort:Word; AData:Pointer; ACount:Integer):Integer;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference