Open topic with navigation CAPL Functions » TCP/IP API » UdpCloseDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
UdpClose
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Method Syntax as Destructor
Description
The function closes the UDP socket. Upon successful completion the passed socket is no longer valid.Parameters
- socket: The socket to be closed.
Return Values
- 0: The function completed successfully.
- WSA_INVALID_PARAMETER (87): The specified socket was invalid.
- SOCKET_ERROR (-1): The function failed. Call IpGetLastError to get a more specific error code.