Skip to main content

TCPShutdown

CAPL Functions » Smart Charging » CCS (Communication Setup) » Shared Functions » TCPShutdown Valid for: CANoe DE • CANoe4SW DE

Function Syntax

MethodReturnValueType TCPShutdown ( )

Description

The function can be used to trigger a closing of the TCP connection. If the remote side does not respond, the TCP connection is reset.

Parameters

Return Values

MethodReturnValueType All function calls (except for indications) will return a MethodReturnValueType indicating whether the call was successful or not. Possible values:
  • 0 OK
  • 1 InvalidArgument
  • 2 NoMatchingElementFound
  • 3 UnknownError

Example