TIGMPSocket

From Ultibo.org
Revision as of 05:02, 21 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit IGMP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit IGMP


Description


To be documented

Class definitions



TIGMPSocket = class(TProtocolSocket)

Note: SOCK_RAW
 
constructor Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);  
destructor Destroy; override;  
private
FRecvData:TIGMPBuffer;  
public
property RecvData:TIGMPBuffer read FRecvData;  
 
function IoCtl(ACommand:DWORD; var AArgument:u_long):Integer; override;  
 
function IsConnected(ALocalAddress,ARemoteAddress:Pointer; ALocalPort,ARemotePort:Word; ABroadcast:Boolean):Boolean; override;  
function IsListening(ALocalAddress,ARemoteAddress:Pointer; ALocalPort,ARemotePort:Word; ABroadcast:Boolean):Boolean; override;  


Function declarations



constructor TIGMPSocket.Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);
Description: To be documented
Note None documented


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


function TIGMPSocket.IoCtl(ACommand:DWORD; var AArgument:u_long):Integer;
Description: To be documented
Note None documented


function TIGMPSocket.IsConnected(ALocalAddress,ARemoteAddress:Pointer; ALocalPort,ARemotePort:Word; ABroadcast:Boolean):Boolean;
Description: Check if this IGMP Socket is Connected to the Host specified by RemoteAddress
Note A connected Socket will have a Bound LocalAddress and a Connected RemoteAddress


function TIGMPSocket.IsListening(ALocalAddress,ARemoteAddress:Pointer; ALocalPort,ARemotePort:Word; ABroadcast:Boolean):Boolean;
Description: Check if this IGMP Socket is Listening on the LocalAddress specified
Note A listening Socket may or may not have a Bound LocalAddress and will have a default (INADDR_ANY) RemoteAddress


Return to Unit Reference