IP_Endpoint::PrintEndpointToString
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
long IP_Endpoint::PrintEndpointToString(char endpoint[]);Description
Converts the endpoint to a character string with the following form:<TCP/UCP>:<ip_Address>:<Port>
Examples:
- IPv4 Endpoint: 192.168.1.1:100
- IPv4 TcpEndpoint: TCP:192.168.1.1:100
- IPv6 Endpoint: [2001:DB8::1]:100
- IPv6 TcpEndpoint mit ScopeId: TCP:[2001:DB8::1%1]:100
- IPv6 UdpEndpoint: UDP:[2001:DB8::1]:100
Parameters
- endpoint: A character string representing an IP endpoint.
Return Values
- 0: Success
- 1: Character string too small