TUDPBuffer
From Ultibo.org
Revision as of 01:35, 31 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit UDP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapsed"...")
Return to Unit UDP
Description
To be documented
Class definitions
[Expand]
TUDPBuffer = class(TSocketBuffer)
Function declarations
[Expand]
function TUDPBuffer.AddDatagram(ASize:Integer):Boolean;
Description: Adds a new Datagram as the Last datagram in the Buffer
[Expand]
function TUDPBuffer.RemoveDatagram:Boolean;
Description: Removes the First datagram from the Buffer
[Expand]
procedure TUDPBuffer.SetSize(ASize:LongWord);
Description: Setting the Size clears any current Datagrams
[Expand]
function TUDPBuffer.ReadBuffer(var ABuffer; var ASize:Integer; ARemoteAddress:Pointer; ARemotePort:PWORD; AFlags:Integer):Boolean;
Description: Stored Datagram contains the Data without the Headers
[Expand]
function TUDPBuffer.WriteBuffer(var ABuffer; ASize:Integer; ARemoteAddress:Pointer; ARemotePort:PWORD):Boolean;
Description: Supplied Buffer contains the Data without the Headers
Return to Unit Reference