Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.03 KB

IsNetworkAlive.md

File metadata and controls

41 lines (28 loc) · 1.03 KB

Home

Function name : IsNetworkAlive

Group: System Information - Library: sensapi


The IsNetworkAlive function determines whether the local system is connected to a network and the type of network connection. For example, whether the local system has connectivity to a LAN, WAN, or both networks.


Code examples:

Determining if an Active Network Connection is Available

Declaration:

Bool IsNetworkAlive(
  LPDWORD lpdwFlags  // Specifies the type of network connection
);  

FoxPro declaration:

DECLARE INTEGER IsNetworkAlive IN sensapi;
	INTEGER @ lpdwFlags  

Parameters:

lpdwFlags [out] Provides information on the type of network connection available when the return value is TRUE.


Return value:

Returns True if the local system is connected to a network.