OnSomeIpEstablishedIPv6TCPConnection, OnSomeIpEstablishedIPv4TCPConnection, OnSomeIpEstablishedTCPConnection
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
void OnSomeIpEstablishedIPv6TCPConnection(byte localIPv6Address[], dword localPort, byte remoteIPv6Address[], dword remotePort); // form 1void OnSomeIpEstablishedIPv4TCPConnection(dword localIPv4Address, dword localPort, dword remoteIPv4Address, dword remotePort); // form 2void OnSomeIpEstablishedTCPConnection(IP_Endpoint localIPEndpoint, IP_Endpoint remoteIPEndpoint); // form 3
Description
This callback will be called after an incoming or outgoing TCP connection has been established for an IL’s application endpoint.Parameters
- localIPv6Address: Local IPv6 address.
- remoteIPv6Address: Remote IPv6 address.
- localIPv4Address: Local IPv4 address.
- remoteIPv4Address: Remote IPv4 address.
- localPort: Local TCP port number.
- remotePort: Remote TCP port number.
- localIPEndpoint: Object of type
IP_Endpointthat contains the address/port of the local endpoint. - remoteIPEndpoint: Object of type
IP_Endpointthat contains the address/port of the remote endpoint.
Return Values
- 0: The function was successfully executed
- >0: Error code