Network.checkConnectionPing() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Network Class Summary

Availability
Windows

Usage
mdm.Network.checkConnectionPing(remoteAddress:String, timeout:Number):Boolean

Parameters
remoteAddress:String - Remote address to check

timeout:Number - Timeout

Returns
A Boolean

Description
Returns a boolean indicating whether or not the application can connect to the specified address.

Notes
This command uses an internal Ping request to check the connection of an internet presence.

The 'timeout' parameter can be set to any amount in milliseconds, but it is recommended to use at least 2000 miliseconds for accurate results.

Example Code
var isConnected:Boolean = mdm.Network.checkConnectionPing("www.multidmedia.com", 2000);

mdm.Network Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page