Topic Path: Symbol Reference > Classes > TIdStackBSDBase Class > TIdStackBSDBase Methods > CheckIPVersionSupport Method
TIdStackBSDBase.CheckIPVersionSupport Method

Determines if a specified IP protocol version is supported.

function CheckIPVersionSupport(
    const AIPVersion: TIdIPVersion
): boolean; virtual; abstract;
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.