Method ITcIoTcpProtocol:SendData
Sends data (server and client functionality).
Syntax
HRESULT TCOMAPI SendData(ULONG socketId, ULONG nData, PVOID pData, ULONG& nSendData)
Parameter
Name | Type | Description |
---|---|---|
socketId | ULONG | The socket to be used. |
nData | ULONG | Length of the data to be sent. |
pData | PVOID | Pointer to the data to be sent. |
nSendData | ULONG& | Returns the number of sent bytes. If this is smaller than nData, the data should be re-sent. |