How to use the ping.lost function in ping

To help you get started, we’ve selected a few ping examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apache / openmeetings / openmeetings-web / src / main / java / org / apache / openmeetings / web / room / nettest-base.js View on Github external
function _pingEnd(avg, _all) {
		_log($('<span></span>').append(lbls['ping.avg']).append(_value(avg, lbls['ms'])));
		_log($('<span></span>').append(lbls['ping.rcv']).append(_value(_all.length, '')));
		_log($('<span></span>').append(lbls['ping.lost']).append(_value(PINGS - _all.length, '')));
		_setResult(_value(avg, lbls['ms']))
	}
	function _restart(size) {

ping

a simple wrapper for ping

MIT
Latest version published 2 years ago

Package Health Score

59 / 100
Full package analysis