CNSFinish
int CNSFinish (void);
Purpose
Uninitializes the Network Streams Library.
![]() |
Note
You must call this function after your program is done using the Network Streams Library to discard and clean up global resources. If you do not call this function after calling other functions in the Network Streams Library, your program might hang or crash when it closes and LabWindows/CVI might not be able to report the leaked resources in your program. Additionally, you must not call this function from DllMain and atexit handlers functions?doing so may cause your application to deadlock and stop responding. |
Parameters
None.
Return Value
Name | Type | Description |
error | int | An error code returned by a Network Streams Library function. |
Additional Information
Library: Network Streams Library
Include file: cvinetstreams.h
LabWindows/CVI compatibility: LabWindows/CVI 2013 and later