Skip to main content
Open topic with navigation

IP_Endpoint::IsUnknown

CAPL Functions » Ethernet » Function Overview » IP_Endpoint::IsUnknown Valid for: CANoe DE • CANoe4SW DE

Method Syntax

Method Syntax
long IP_Endpoint::IsUnknown();

Description

Checks if the current transport protocol of this endpoint is unknown.

Parameters

Return Values

Returns 1 if the current transport protocol of this endpoint is unknown.

Example

on start
{
  IP_Endpoint 192.168.1.1:4000 addr; //neither "UDP:" nor "TCP:" has been specified and thus the transport protocol is unknown
  if (addr.IsUnknown())
  {
    write( "Is endpoint with unknown transport protocol" );
  }
}