Update the polling interval to configure the network layer to your environment.
If the network is down, the network layer polls the system to determine when the network is back up. The polling interval preference value is com.ibm.rcp.net.http/local_resource_monitor_interval
See Managing Eclipse preferences
for more information about how to query or modify preference values.
If your system is connected using a device emulator, such as VMWare, or other connections that share your LAN or wireless network connection, the netstatus API always returns true even after you disconnect the LAN cable and wireless. This step occurs because of the existence of the virtual adaptor. If you would like your application to be notified of a true offline state (or plan to disconnect the system), go to Start
-> My Network Places
, right-click Properties
, and disable the shared connections. The Netstatus API returns the correct status.
Parent topic: Configuring the network layer: XPD622