Update the polling interval to configure the network layer to your environment.
If the network is down, the network layer will poll 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 on 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 would always return true even after you disconnect the LAN cable and wireless. This is 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 on Properties
and disable the shared connections. The Netstatus API will return the correct status.
Parent topic: Configuring the network layer: XPD621