Topic Path: Symbol Reference > Classes > TIdStackLinux Class > TIdStackLinux Methods > CheckIPVersionSupport Method
ContentsIndexHome
PreviousUpNext
TIdStackLinux.CheckIPVersionSupport Method

Determines if a specified IP protocol version is supported.

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

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