LInet::OnClose

#include "ltwrappr.h"

virtual L_INT LInet::OnClose(plConnection, nError)

LInet L_FAR * plConnection;

/* instance of a remote computer */

L_INT nError;

/* error code */

Overridable function that notifies a computer that a connection has been terminated.

Parameter

Description

plConnection

Pointer to the instance of the remote computer whose connection has been terminated.

nError

If no error has occurred, nError will be SUCCESS. If nError is < SUCCESS, an error has occurred.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will be called after LInet::Close is called.

Do not delete plConnection.

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::Close, Class Members

Example

For an example, refer to LInet::AddWndItem.