TIGMPSocket

From Ultibo.org
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