InetSendData2 method (ILEADRasterInet)
short InetSendData2 (VARIANT *pData, long lSize, short iType); | |
Overview |
Refer to Implementing Internet Functionality. |
Remarks
Sends the specified number of bytes to all the remote computers in the SendList and generates an InetReceiveData2 event on the remote computer(s).
Fill pData with the data you wish to send before calling this method. The data should be specified in a byte array.
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