Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoReceiver_SetBuffers | ( | GoReceiver | receiver,
|  | kSSize | socketSize,
|  | kSSize | clientSize
| ) |  |

Sets the size of buffers used for receiving data.

Call this function before calling GoReceiver_Open.

Version
  Introduced in firmware 4.0.10.27

Parameters

  receiver | Receiver object.
  socketSize | Size of the read buffer used by the underlying operating system socket (-1 to leave unchanged).
  clientSize | Size of the read buffer used by the receiver object (-1 to leave unchanged).

Returns
  Operation status.