LInet::SendSizeWinRsp

#include " ltwrappr.h "

L_INT LInet::SendSizeWinRsp (plRemoteComp, uCommandID, uLength, pExtraInfo, nStatus)

LInet * plRemoteComp;

/* instance of a remote computer */

L_UINT uCommandID;

/* id for command */

L_UINT uLength;

/* length of extra data */

L_CHAR * pExtraInfo;

/* extra data */

L_INT nStatus;

/* status */

Sends a size window response to a remote computer.

Parameter

Description

plRemoteComp

Instance of the remote computer to which the response will be sent.

uCommandID

Command ID. Each command sent by a member of a connection should have a unique ID. Since a member of a connection may send several commands, this ID allows that member to identify when a specific command request has been completed.

uLength

Length of any extra data associated with the response.

pExtraInfo

Pointer to any extra data associated with the response.

nStatus

Pointer to any extra data associated with the response.

Returns

SUCCESS

This function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function sends a response to a size window command that was sent from a remote computer using the LInet::SendSizeWinCmd.

To process commands, a class must be derived from LInet and the LInet::CommandCallBackmember function must be overridden.

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::SendSizeWinCmd, LInet::CommandCallBack, LInet::ResponseCallBack, Class Members

Topics:

Sending Commands and Responses

 

A Client Server Diagram: Sending Commands and Responses

Example

For an example, refer to LInet::SendSizeWinCmd.