Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Open topic with navigation
CAPL Functions » Ethernet » Function Overview » IP_Address::IsIPv6Address
IP_Address::IsIPv6Address
Valid for: CANoe DE • CANoe4SW DE
Method Syntax
Method Syntax
long IP_Address::IsIPv6Address();
Description
Checks if the current address is an IPv6 address.
Parameters
—
Return Values
Returns 1 if the object currently represents an IPv6 address.
Example
on start
{
DoSomething( IP_Address(192.168.1.2) );
}
void DoSomething( IP_Address addr )
{
if (addr.IsIPv4Address())
{
// ...
}
else if (addr.IsIPv6Address())
{
// ...
}
}