RtIsTcpStackLicensed

The function RtIsTcpStackLicensed verifies whether a specified RTX64 RT/TCP-IP Stack component is installed and has a valid license.

Syntax

BOOL RtIsTcpStackLicensed(
	DWORD majorVersion
);

Parameters

majorVersion

The major version of the RTX64 RT-TCP/IP Stack component to validate.

RT-TCP/IP Stack Version majorVersion Value
RTX64 3.x 3
RTX64 2014 (includes Service Packs) 2
Currently installed version

0

Return Value

Returns TRUE if the specified RT/TCP-IP Stack version is installed and licensed. Returns FALSE if the specified RT/TCP-IP Stack is not installed or not licensed.

Possible error codes:

Error Code Meaning

RT_ERROR_NO_LICENSE

The RT/TCP-IP Stack is not licensed.

Requirements

Minimum Supported Version RTX64 2014 with Service Pack 2
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)