tibems_SetSocketReceiveBufferSize

Function

Purpose

Set the size of socket receive buffers.

C Declaration

tibems_status tibems_SetSocketReceiveBufferSize(
    tibems_int size);

COBOL Call

CALL "tibems_SetSocketReceiveBufferSize"
 USING BY VALUE size,
       RETURNING tibems-status
END-CALL.

Remarks

This value overrides the operating system’s default for the size of receive buffers associated with sockets that the client uses for connections to the server.

Use this call before creating server connections. This call sets an override buffer size for new socket buffers; it does not change the size of existing socket buffers.

Parameters

Parameter Description
size Sockets use receive buffers of this size (in kilobytes).