IAPI::SendSocketObjectData

property SendSocketObjectData.

Sends regular string data (without 0 character) to the remote peer ( client or server )

 

HRESULT SendSocketObjectData(
  long hSocketObject,
  BSTR pData,
  long data_size,
  long *pVal
);

Parameters

hSocketObject

[in] .   Handle of socket object

pData

[in] .   Regular string data

data_size

[in] .   String length

pVal

[out, retval] The returned value is 0 if succeeded, other value if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI