InetSendSound2 method (ILEADRasterInet)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short InetSendSound2 (short iFormatTag, short iChannels, long lSamplesPerSec, long lAvgBytesPerSec, short iBlockAlign, short iBitsPerSample, short iExtraDataSize, VARIANT pExtraData, VARIANT pData, long lDataSize);

Overview

Refer to Implementing Internet Functionality.

Remarks

Sends wave sound data to all the remote computers in the SendList property.

This generates an InetReceiveSound2 event on the remote computer(s).

Before you can send data to 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:

SendList property, InetServerInit method, InetConnect method, InetAcceptConnect method, InetAccept event, InetSendBitmap method, InetSendDIB method, InetSendData2, InetReceiveBitmap event, InetReceiveData2 event, InetReceiveStart event, InetReceiveSound2 event, InetError event

Topics

Working with Internet Functionality: Sending and Receiving Data