TWinsock2UDPServerBuffer

From Ultibo.org
Jump to: navigation, search

Return to Unit Winsock2


Description


To be documented

Class definitions



TWinsock2UDPServerBuffer = class(TWinsock2SocketBuffer)

public
constructor Create(ASize:Integer);  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FActive:Boolean;  
FData:Pointer;  
FSize:Integer;  
FCount:Integer;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function GetActive:Boolean;  
procedure SetActive(AActive:Boolean);  
procedure SetCount(ACount:Integer);  
public
property Active:Boolean read GetActive write SetActive;  
property Data:Pointer read FData;  
property Size:Integer read FSize;  
property Count:Integer read FCount write SetCount;  


Function declarations



constructor TWinsock2UDPServerBuffer.Create(ASize:Integer);
Description: To be documented
Note None documented


destructor TWinsock2UDPServerBuffer.Destroy;
Description: To be documented
Note None documented


function TWinsock2UDPServerBuffer.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TWinsock2UDPServerBuffer.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TWinsock2UDPServerBuffer.GetActive:Boolean;
Description: To be documented
Note None documented


procedure TWinsock2UDPServerBuffer.SetActive(AActive:Boolean);
Description: To be documented
Note None documented


procedure TWinsock2UDPServerBuffer.SetCount(ACount:Integer);
Description: To be documented
Note None documented


Return to Unit Reference