LInet::OnConnect
#include "ltwrappr.h"
L_INT LInet::OnConnect(plConnection, nError)
/* instance of a remote computer */ | |
L_INT nError; |
/* error code */ |
Overridable function that notifies a computer that a connection has been established..
Parameter |
Description |
plConnection |
Pointer to an instance of the remote computer to which you have connected. |
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
A call to this function will be generated by a call to LInet::Connect.
Do not delete the pointer 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: |
|
Topics: |
Example
For an example, refer to LInet::Connect.