Trying out the SocketMonitor and what I'm experiencing is not what I'm expecting to happen. Here's a code snippet:
__sm = new SocketMonitor(HOSTNAME, PORT_NUMBER); __sm.addEventListener(StatusEvent.STATUS, onNetworkStatusChange); __sm.start(); The onNetworkStatusChange() method gets called when start() is called. I expect that. It also get's called about 30 seconds after the network interface is disabled. I'm guessing it uses some sort of polling, so I guess I expect that. I really expected it to happen as soon as the interface goes down, so to speed up the network status recognition I set __sm.pollInterval = 1000. Once I do that, the only time onNetworkStatusChange() is called is when start() is called. It never gets a StatusEvent... no matter how many times I enable/disable the network interface. Any ideas on why I'm seeing this? Thanks, Geoff