PBMS Connection Options

The following table shows the connection options available along with the expected type for the value parameter pointer in the pbms_get_option() and pbms_set_option() functions.

Note that some of the options are read only.

PBMS Connection options
Option Parameter Type Default Description
PBMS_OPTION_KEEP_ALIVE unsigned int FALSE A boolean flag to indicate if the keep-alive flag should be set on HTTP requests.
PBMS_OPTION_HOST const char* localhost The connection's Blob Streaming daemon host IP address. (Read Only)
PBMS_OPTION_PORT unsigned int 8080 The connection's Blob Streaming daemon host port number. (Read Only)
PBMS_OPTION_TRANSMITION_TIMEOUT unsigned int 0 If greater than zero this sets a limit to how long a blob transfer can take.
PBMS_OPTION_DATABASE const char* none The database associated with the connection.