If I'm right, those should be triggered if you drop the internet connection during gameplay or if you connect. It should work if your are un- and replugging your network cable while running the game. I don't know however if it works while previewing or you'll have to upload your project to a host.
I have not tried that, maybe try it later.
I'll upload an example to bitballoon and try it there.