how to connect/disconnect to internet(DSL) in C++/PHP under win32 OS? Normally, you have to run the connect/disconnect program by user name and password, I wonder how the program do that, which API it use? Thanks
Please explain further, you want to detect if you have an internet connection if you are on windows server? or you are on *nix and want to use your windows network to connect to your DsL connection?
It's running on my own winxp pc, not about a server. I wanna how to make a program to connect/disconnect internet in C/C++ or PHP