LInet::ShutDown

#include "ltwrappr.h"

L_INT LInet::ShutDown(L_VOID)

Shuts down the LEADTOOLS Peer-to-Peer DLL.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

All connections will be closed. If the computer is a server, it will be stopped.

This function shuts down the LEADTOOLS Peer-to-Peer DLL. This must be the last function that is called to free up any memory that is associated with the Peer-to-Peer DLL. No other Peer-to-Peer function can be used after LInet::ShutDown is called. If you wish to use other functions after calling this function, LInet::StartUp must be called again.

You must initialize the LEADTOOLS Peer-to-Peer DLL using LInet::StartUp before calling this function.

Required DLLs and Libraries

LTNET

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LInet::StartUp, LInet::SendSound, Class Members

Example

For an example, refer to LInet::ServerInit.