event.address

Type String
Event networkStatus
Revision 2017.3060
Keywords networkStatus, address
See also network.setStatusListener()

Overview

The host associated with this network status change event. This information is potentially useful if you are monitoring multiple hosts with the same callback function and need to distinguish between them.

Example

local function myNetworkReachabilityListener( event )
    print( "address", event.address )
end