InetSendCmd2 method (ILEADRasterInet)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short InetSendCmd2 (InetCmdType Command, long nCommandID, ILEADRasterInetPacket Params, long nExtraDataSize, VARIANT ExtraData);

Overview

Refer to Sending Commands and Responses.

Remarks

(Internet only) Sends a command to a remote computer.

The remote computer should respond by calling the InetSendRsp2 method in its InetReceiveCmd2 event.

Some commands will send back only the command’s status (indicating whether the command succeeded or not). But some commands will send back additional information if the command succeeds. For example, responses to the InetSendLoadCmd method will send the bitmap ID while responses to the InetSendCreateWinCmd method will send the window identifier (which can be used to resize or close the window).

When a response is received from a remote computer, the InetReceiveRsp2 event is triggered.

See Also

Elements:

InetSendRsp2 method, InetReceiveCmd2 event, InetReceiveRsp2 event

Topics:

Working with Internet Functionality: Command Messages

 

Client-Server Diagram: Sending Commands and Responses