As the name of the function implies, setdefaulttimeout
is just the default. If any of the other libs set the timeout on the socket, it will override this default..
So I see no choice but to set the timeout in each library explicitly
A complete answer can be found here