Package ilcd
Class General

Public Method getNetworkStatus

static NetworkStatus getNetworkStatus()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
static NetworkStatus status of the interface

The getNetworkStatus() method is used get information about the TCP/IP connection. See the TCP/IP Settings category on the Settings Tab in the iLCD Manager XE. A NetworkStatus object is returned containing structured information.

Example

NetworkStatus netStat = General.getNetworkStatus();

short[] accessIp  = netStat.getAccessIp();

short[] currentIp = netStat.getCurrentIp();

short[] deviceIp  = netStat.getDeviceIp();

In the third line a buffer for the current IP address is declared, allocated and set.
Alternatively a value can be obtained with a single call:

short[] accessIp = General.getNetworkStatus().getAccessIp();

See also:

NetworkStatus