Skip navigation
Currently Being Moderated

Testing while randomly disconnecting internet connection?

Aug 15, 2012 3:46 AM

Hi,

Is it possible to test/debug a project and simulate a loss of internet/network connection.

 

I want to basically "pull the plug" on the internet incertain areas to test my ioerror listeners ect fall back on to logic that works.

 

I see settings for download ... you can strangle the connection but not switch it off completely.

 

Thanks

  Aidan

 
Replies
  • Currently Being Moderated
    Aug 15, 2012 4:30 AM   in reply to home_aidan

    Pull the network plug to simulate loss of connection.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2012 7:35 AM   in reply to home_aidan

    Are you on Windows? If so you can adjust firewalls, like Windows Firewall, to block all data to any specific application, allowing your other apps to remain online.

     

    Start->Control Panel->Windows Firewall->(upper left) Allow a program or feature through Windows Firewall. Scroll the list, find Flash/Builder and allow or disallow.

     

    Otherwise it's pretty much an on/off button with the internet. Rather than potentially moving hardware and plugging and unplugging the net cable, especially being notorious for being fragile, I'd go in Start->Control Panel->Network and Sharing Center->Local Area Connection->Disable. Or Wifi if you use that.

     

    Careful though. The nature of Windows (since its black and white inception) has been to hang applications that require networking, especially when an application had internet when it was started. Microsoft still hasn't figured out how to use async threads yet. It's like a parallel port printer..

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points