IAPI::SendSocketObjectBinaryData

property SendSocketObjectBinaryData.

Sends binary data to a remote peer ( client or server )

 

HRESULT SendSocketObjectBinaryData(
  long hSocketObject,
  long pBinaryData,
  long data_size,
  long *pVal
);

Parameters

hSocketObject

[in] .   Handle of socket object

pBinaryData

[in] .   Pointer to binary data.

data_size

[in] .   Size of binary data

pVal

[out, retval] The returned value 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