The NIPING tool could be used to check a connection during a long life time connection.
To do this test, it is required to start NIPING as a server in one host:
In the remote host is is required to start NIPING as a client:
The option -X3 is used to a long life connection test. It will not terminate automatic, just in case of a connection broken that may represent a problem in the network layer.
With the above configuration, every 30 seconds (-D) a package with 10 bytes (-B) will be send to the server.