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.