[TIBCO.EMS .NET client library 6.0 documentation]

Set the size of socket receive buffers

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static void SetSocketReceiveBufferSize(
	int size
)
Public Shared Sub SetSocketReceiveBufferSize ( _
	size As Integer _
)
public:
static void SetSocketReceiveBufferSize(
	int size
)

Parameters

size
Type: System..::.Int32
Sockets use receive buffers of this size (in kilobytes).

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.

The .NET Compact Framework does not permit changing the default socket buffer size. This call has no effect, and returns without error.

See Also