search for: upscli_connect_wait

Displaying 1 result from an estimated 1 matches for "upscli_connect_wait".

2011 Jun 28
3
Changes to upscli_connect
Hello, I am currently working on the nut scanner. For detecting available upsd on the network, I rely on upscli_connect. The problem with this function is that it calls a blocking "connect" function. So the nut-scanner is blocked while waiting for the TCP timeout when trying to connect to an IP without upsd available . Since this timeout may be rather long (3 minutes on my host), I