WSACleanup

WSACleanup terminates use of the RT-TCP/IP stack within an RTSS process.

Syntax

int WSACleanup(void);

Parameters

None

Return Values

0 (zero) if the function succeeds, SOCKET_ERROR if the function fails

Use WSAGetLastError to retrieve a specific error code.

Remarks

The WSACleanup function should only be called once within an RTSS process.

Requirements

Library Rtxtcpip.lib
IntervalZero.com | Support | Give Feedback