DH_SetTransmitFormat

DH_SetTransmitFormat -- sets client-to-datahub transmissions to binary or ASCII.

Syntax

#include <cogdb.h>

int DH_SetTransmitFormat(int flag);

Arguments

flag

One of these:

Returns

ST_OK on success, ST_ERROR on failure, or some other value of ST_STATUS.

Description

This function sets a global variable that determines whether DH_WritePoint will attempt to use binary or ASCII format in transmissions from a client to the Cascade DataHub.

See Also

DH_SetReceiveFormat

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.