for (int i = 0; i < 18000/*00*/; i++) {
string.append("Hello World " + i + "!");
}
byte[] bytes = string.toString().getBytes();
RudpResult result = localEndpoint.write(socketAddress, bytes, 0, bytes.length, 0);
System.out.println("Written 1, ping = " + result.getAveragePing());
result = localEndpoint.write(socketAddress, bytes, 0, bytes.length, 0);
System.out.println("Written 2 ping = " + result.getAveragePing());
}