NAME

upscli_get_default_connect_timeout - Return the upsclient module default timeout for initial connections.

SYNOPSIS

Note
Two NUT websites

This version of the page reflects NUT release v2.8.3 with codebase commited c0acf09af at 2025-04-21T23:59:59+00:00

Options, features and capabilities in current development (and future releases) are detailed on the main site and may differ from ones described here.

        #include <upsclient.h>

        int upscli_get_default_connect_timeout(struct timeval *ptv);

DESCRIPTION

The upscli_get_default_connect_timeout() function takes the pointer ptv to a struct timeval and returns the default network timeout for initial connections last assigned with upscli_set_default_connect_timeout(3).

SEE ALSO