man3rmt/rmtSetIObufSize
Table of Contents
rmtSetIObufSize - remote - set the tcp rec/trans buffer sizes in the
server
rmtSetIObufSize requests
dbman to set the sizes of the
tcp/ip receive and transmit buffers.
This is useful for clients which may
generate large amounts of traffic for brief instances of time and want
to avoid hanging the server (or the client depending on which buffer size
we are talking about) on a write() call.
The request is passed in remote
mode.
This function is part of librmt.
int rmtSetIObufSize(
int fo,
int R,
int S,
int verbosity
);
The file descriptor for the connection to dbman.
receive buffer
size
transmit buffer size
Defines the amount of messages to print.
This value is passed on to SendRec. A value of 0 produces no messages. See
the SendRec manpage for full details on available values.
ERRok
is returned if the transaction is successful.
The error code from the transaction is returned if there is a communications
error.
librmt(3rmt)
$Id: rmtSetIObufSize.3,v
1.2 2008/08/22 16:23:09 mcnamer Exp $
Table of Contents