Skip to main content
Open topic with navigation CAPL Functions » TCP/IP API » TcpGetRemoteEndpoint

TcpGetRemoteEndpoint

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Method Syntax as Constructor

Description

The function retrieves the remote endpoint of the specified connected socket.

Parameters

  • socket: The socket handle.
  • remoteEndpoint: IP_Endpoint which returns the IP endpoint.

Return Values

  • 0: Success
  • Any other value: Error

Example

Create TCP Client and Server Sockets