A LuaSocket addon that checks changes in the network connection
$ luarocks install netcheck
NetCheck provides a few functions to verify the connection is (un)changed. Connects, disconnects, loopback, IP changes etc. can be detected with a single call.
root