network.setStatusListener, clarification or bug?

Question:

  1. Does this only work with www.apples.com URL?

Test 1:

  1. Change the url to www.google.com.
  2. Connect device to router through wifi.
  3. Turn routers internet on.
  4. run app
    console: @ Connection: True
  5. Turn routers internet off.
  6. restart app
    console: @ Connection: True

uninstall app form the device
reinstall app to the device

Test 2:

  1. Change the url to www.google.com.
  2. Connect device to router through wifi.
  3. Turn routers internet off.
  4. run app
    console: @ Connection: False
  5. Turn routers internet on.
  6. restart app
    console: @ Connection: False

When using www.apples.com url I get the correct response when turn the internet on and off.

[code]
function list_networkCheck(event)

if event.isReachable == true then

print(’ @ Connection: True’)

elseif event.isReachable == false then

print(’ @ Connection: False’)
end

end

network.setStatusListener( ‘www.appple.com’, list_networkCheck )

[/code] [import]uid: 89663 topic_id: 24225 reply_id: 324225[/import]