+ }
+ }
+ xhr.send();
+ }
+
+ function iperf() {
+ let xhr = new XMLHttpRequest();
+ xhr.open('GET', '/iperf', true);
+ xhr.onload = function() {
+ if (xhr.status == 200) { //can use this.status instead
+ //console.log(xhr.responseText);// para ver en la consola
+ vsorcout.value+=xhr.response;
+ console.log("pingall");
+
+