NWCCCloseConn
Closes the specified connection
#include <nwclxcon.h>
N_EXTERN_LIBRARY NWRCODE NWCCCloseConn (
NWCONN_HANDLE connHandle);
uses clxwin32
Function NWCCCloseConn
(connHandle : NWCONN_HANDLE
) : NWRCODE; stdcall;
These are common return values; see Return Values (Return Values for C) for more information.
NWCCCloseConn is used to close an open connection handle. Calling NWCCCloseConn has the opposite effect as the following open functions: NWCCOpenConnByName, NWCCOpenConnByAddr, NWCCOpenConnByPref, and NWCCOpenConnByRef. After the connection handle is closed, the handle may not be used again to access the connection.
Under Windows 95, NWCCCloseConn waits approximately 30 seconds to allow the connection to be unlicensed and then closes the connection.
NWCCCloseConn clears a clients local connection handle while NWClearConnectionNumber clears a connection from a server connection table.