TICMP6Socket

From Ultibo.org
Jump to: navigation, search

Return to Unit ICMPv6


Description


To be documented

Class definitions



TICMP6Socket = class(TProtocolSocket)

Note: SOCK_RAW
 
constructor Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);  
destructor Destroy; override;  
private
FRecvData:TICMP6Buffer;  
public
property RecvData:TICMP6Buffer 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 TICMP6Socket.Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);
Description: To be documented
Note None documented


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


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


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


function TICMP6Socket.IsListening(ALocalAddress,ARemoteAddress:Pointer; ALocalPort,ARemotePort:Word; ABroadcast:Boolean):Boolean;
Description: Check if this ICMP6 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