SOC_Cleanup

C Specification

#include <nitroWiFi/soc.h>
int SOC_Cleanup ( void );

Arguments

None.

Return Values

0 Successful.
-1 Not all socket services are halted.

Note: Additional errors may be generated and returned in future library releases. Treat all negative return values as general errors.

Description

This function closes all open sockets and shuts down the socket library. Subsequent socket function calls return errors until the socket library is re-initialized with SOC_Startup().

See Also

SOC_Close, SOC_Startup

Revision History

09/13/2005 Initial version.