Added upload and download statistics

This commit is contained in:
2024-01-26 19:00:59 +01:00
parent 8370afd9a1
commit 252d55b30f
10 changed files with 54 additions and 6 deletions

View File

@ -19,7 +19,7 @@ func send_ping():
var buffer := StreamPeerBuffer.new()
buffer.put_8(Packet.PING)
buffer.put_8(count)
%Client.socket.put_packet(buffer.data_array)
%Client.send(buffer.data_array)
history[count] = get_time()
count += 1