IP Functions
CAPLfunctionIsIPv6Address
Open topic with navigation
CAPL Functions » Ethernet » Function Overview » IP_Address::IsIPv6Address
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long IP_Address::IsIPv6Address();
on start
{
DoSomething( IP_Address(192.168.1.2) );
}
void DoSomething( IP_Address addr )
{
if (addr.IsIPv4Address())
{
// ...
}
else if (addr.IsIPv6Address())
{
// ...
}
}