I have a dial up modem and I want to write a program that can create new VPN connection profile, enumerate all profile and connect to network by choosing one of those profile.
Which Qt class can I use to do that?
I have a dial up modem and I want to write a program that can create new VPN connection profile, enumerate all profile and connect to network by choosing one of those profile.
Which Qt class can I use to do that?
I don't think there is a class in Qt that makes dialup connections. You can look at QNetorkConfigurationManager and family but I don't see anything related to dialup there.
Whats a dial up modem ?
If your using Windows, you can typically configure it to automatically dial a default connection upon a program requesting to connect to an address outside your local LAN. Last time I used it (10 or 15 years ago) it wasn't too smart, but maybe it's better now. I think it was called "Autodial".
Otherwise you can use OS-specific calls. Eg. on Windows, you can just call InternetAutodial(INTERNET_AUTODIAL_FORCE_UNATTENDE D)
Thank you wysota,
I looked at all the Network class but could not find anything about the VPN connection. I think there will be some Windows APIs for it.
By the way, are there some Qt network class that I can monitor the upload / download speed?
Bookmarks