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.5 with codebase commited 0e051f9f6 at 2026-04-07T11:40:11+02: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