event.address

Type String
Event networkStatus
Revision Release 2024.3703
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