Skip to main content

_DoIP_ConnectionClosedInd

Valid for: CANoe DE

Function Syntax

void _DoIP_ConnectionClosedInd( long reason);

Description

The TCP connection to the peer has been closed, i.e. another exchange of diagnostic messages will require a connection setup. This callback is also called in a vehicle simulation.

Parameters

  • reason
    • 0: The connection was closed by the node itself
    • 10054: The peer closed the connection
    • Others: Reserved

Return Values

Example

void _DoIP_ConnectionClosedInd( long reason)
{
  write( "ConnectionClosedInd( %d)", reason);
}