IAPI::SetSocketClientObjectBufferSize

method SetSocketClientObjectBufferSize.

Sets new buffer size for sending and receiving data

 

HRESULT SetSocketClientObjectBufferSize(
  long hSocketObject,
  long sndbuf_size,
  long recvbuf_size
);

Parameters

hSocketObject

[in] .   Handle of socket object

sndbuf_size

[in] .   New sending buffer size

recvbuf_size

[in] .   New receiving buffer size

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI