Disconnect the Internet

This is a discussion on Disconnect the Internet within the C++ Programming forums, part of the General Programming Boards category; How can I disconnect through my program? Thanks in advance....

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Disconnect the Internet

    How can I disconnect through my program?

    Thanks in advance.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    Wow, the master of the one-line question in a post has returned.

    Find all threads started by user is a revelation.

    I wonder if you can guess what my question is going to be?

    Better yet would be for you to guess what my question is going to be and answer it before you press submit on your next question.

  3. #3
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    DOS yourself

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I've already searched for INTERNET and DISCONNECT on the C-BOARD, no help for me.

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    34
    This will solve the problem you are about to have.

  6. #6
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Code:
    system("shutdown");
    You won't be connected to the internet after that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2 internet connections
    By Erakis in forum Windows Programming
    Replies: 0
    Last Post: 07-01-2009, 07:14 AM
  2. Internet Problems
    By SirCrono6 in forum Tech Board
    Replies: 3
    Last Post: 04-26-2004, 09:47 PM
  3. XP Internet problems
    By Hunter2 in forum Tech Board
    Replies: 9
    Last Post: 09-18-2003, 08:56 PM
  4. Internet Publishing Laws
    By novacain in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 12-09-2002, 01:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21