Internet Direct (Indy)
Home
PreviousUpNext
TIdStackLinux.CheckIPVersionSupport Method

Determines if a specified IP protocol version is supported.

Pascal
function CheckIPVersionSupport(
    const AIPVersion: TIdIPVersion
): boolean; override;
Parameters 
Description 
AIPVersion 
IP version number to verify for the protocol stack implementation. 

boolean - True when the IP protocol family is supported.

CheckIPVersionSupport is a virtual boolean function used to determine if the IP protocol version in AIPVersion is supported for the host platform, operating system, or protocol stack implementation. 

CheckIPVersionSupport attempts to allocate a new socket with the IP family requested in AIPVersion. CheckIPVersionSupport returns True if the resulting socket handle does not contain Id_INVALID_SOCKET.

TIdStackBSDBase.WSSocket 

Id_INVALID_SOCKET

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.