I am currently setting up the CIFS connection in two different ways, the first is by using a linux command:
sudo mount.cifs //<IpAddress>/<SharedFolderName> /mnt/share -o user=<Account>
and the other one is by using a c++ library:
https://man7.org/linux/man-pages/man2/mount.2.html
I have seen some reference, but I fail to find the proper syntax of how to set the connection timeout to 30 seconds. Can someone help me, please?
Reference:
https://www.mankier.com/8/mount.cifs
https://manpages.debian.org/testing/cifs-utils/mount.cifs.8.en.html