IP_Endpoint::SetToUDP
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
long IP_Endpoint::SetToUDP();Description
Sets the transport protocol to UDP.Parameters
—Return Values
- 0: Success
on start
{
IP_Endpoint 192.168.1.1:4000 addr;
addr.SetToUDP();
if (addr.IsUDP())
{
write("Is UDP endpoint");
}
}