Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 6.1 documentation]

Set the size of socket send buffers

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

# Syntax

    public static void SetSocketSendBufferSize(
    	int size
    )

    Public Shared Sub SetSocketSendBufferSize ( _
    	size As Integer _
    )

    public:
    static void SetSocketSendBufferSize(
    	int size
    )

#### Parameters

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

# Remarks

This value overrides the operating system’s default for the size of send 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.

Sets the size of the socket send buffer size for client connections. Some operating systems may ignore this setting.

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

# See Also

Tibems Class
TIBCO.EMS Namespace