InetReceiving event (ILEADRasterInet)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

void InetReceiving (short iComputer, long lSize);

Overview

Refer to Implementing Internet Functionality.

Remarks

Generated when a computer is receiving data from a remote computer. This event is generated for each chunk of data received. It is generated after the InetReceiveStart event.

This event is generated in response to a remote computer calling the InetSendData method.

The data will be received in the InetReceiveData event.

Before you can receive data from a remote computer, you must have an open connection.

You can open a connection in two ways:

1) Setup the local computer as a server and listen for connections using the InetServerInit method. When connection requests are received, open the connection using the InetAcceptConnect method.

2) Connect to an existing server using the InetConnect method.

See Also

Elements:

InetServerInit method, InetConnect method, InetAcceptConnect method, InetAccept event, InetSendBitmap method, InetSendDIB method, InetSendData method, InetReceiveData event, InetReceiveBitmap event, InetError event

Topics

Working with Internet Functionality: Sending and Receiving Data