InetSendCmd method (ILEADRasterInet)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short InetSendCmd (InetCmdType Command, long nCommandID, ILEADRasterInetPacket Params, long nExtraDataSize, ILEADRasterVariant * 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 InetSendRsp method in its InetReceiveCmd 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 InetReceiveRsp event is triggered.

See Also

Elements:

InetSendRsp method, InetReceiveCmd event, InetReceiveRsp event

Topics:

Working with Internet Functionality: Command Messages

 

Client-Server Diagram: Sending Commands and Responses