Previous Topic: &ZTCPINFO

Next Topic: &ZUNQUOTE


&ZTCPSUPP

Determines if a function is supported by the current TCP/IP vendor stack.

&ZTCPSUPP function

&ZTCPSUPP returns NO if the function is unknown or not supported, or if the TCPIP START command has never been issued. It returns YES if the function is supported.

Operands:

PING

Returns YES if &SOCKET PING is supported.

TRACEROUTE

Returns YES if &SOCKET TRACEROUTE is supported.

GETHOSTBYADDR

Returns YES if &SOCKET GETHOSTBYADDR is supported.

GETHOSTBYNAME

Returns YES if &SOCKET GETHOSTBYNAME is supported.

SOLVE_DNR

Returns YES if the SOLVE Domain Name Resolver (DNR) is supported.

Examples: &ZTCPSUPP

&CANPING = &ZTCPSUPP PING 
&WRITE DATA=PING? &CANPING!

Note: For more information, see the DNR and SHOW DNR command descriptions in the Online Help.

More information:

&SOCKET PING

&SOCKET TRACEROUTE

&SOCKET GETHOSTBYADDR

&SOCKET GETHOSTBYNAME