Image ping accepts a couple of parameters separated by simple commas, each parameter consists of the allowed transfer rate in microseconds and a URL, both parts separated by a semicolons.
Use of imgping may as follows:
<IMG SRC="http://math1.uibk.ac.at/~werner/imgping/?20000;big.gif,low.gif">
The URL big.gif shall be used if the transfer rate is below 20000 microseconds, otherwise the URL low.gif is sent to the client.
More examples:
You get the animated image verision if your current transfer rate (currently about ) is below the given time: | ||||
<2000ms | <200ms | <20ms | <2ms | <1ms |
Note: The current version determines the transfer rate from
the math1.uibk.ac.at WWW Server to the client.
While functionality might also roughly be ok in the local domain uibk.ac.at,
this might not be sufficient for use from other domains (though the mechanism
is still working), because it does not measure the transfer rate from the
server to the client but from math1 to the client.
If your would like to install a local copy, please download the
source code and the Makefile
to compile it yourself. Don't forget to set the binary to be SUID root.
Warning: If REMOTE_HOST is not responding to IP requests, ping will hang. Normally this can't happen, since every machine which might function as a remote host and might build a http connection, would respond to IP packets and ping requests.