Table of Contents
rmtSendSync - remote - send a sync msg
rmtSendSync passes
a sync msg to
dbman.
dbman echos the record back to the sender without changing
it. This allows a client program to syncronize it’s connection with dbman,
i.e. it can ensure that all of the transactions passed to dbman have been
processed up to the point of the sync msg.
There may be more than one sync
msg outstanding at any time so the QUEDISK.Value field can be used to pass
a serial number.
The request is passed in remote mode using a QUEDISK record.
This function is part of librmt.
int rmtSendSync(
int fo,
double V,
int verbosity
);
The file descriptor for the connection to dbman.
QUEDISK.Value
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: rmtSendSync.3,v 1.2 2008/08/22
16:23:09 mcnamer Exp $
Table of Contents