Jump to content
Sign in to follow this  
Innovative

Stop connection

Recommended Posts

Innovative

Is there a way that we can stop the internet connection and start it up again after sleep(7000) ?

Thanks =)

Share this post


Link to post
Share on other sites
Innovative

Not useful to me because , i need a function that will disconnect the internet and connect back that doesn't need any name , user and password ..

Share this post


Link to post
Share on other sites
wolf40

Not useful to me because , i need a function that will disconnect the internet and connect back that doesn't need any name , user and password ..

Maybe this?

Run(@ComSpec & " /c " & 'ipconfig /release', "", @SW_HIDE) ;disconnect

Run(@ComSpec & " /c " & 'ipconfig /renew', "", @SW_HIDE) ;connect

Share this post


Link to post
Share on other sites
Innovative

Thanks wolf =) i cant believe a member with 6 post helped me ! That proved how noob i am =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.