Hi, yes I can reproduce it.
Here I tested with a windows 7 broker and a windows 10 client, on a different network and still get a different ping. I've uploaded an example of the problem.
With v1 I get: 1 to 5 ms
and with v2 I get: 100ms to 900ms
to reproduce the problem:
- In the client B4J file, change the "MQTT_HOST" IP address to the one of your broker.
- Run the Client on a separate machine.
- Open the B4J Broker file and run the broker.
- On the broker GUI, click the button "PING" and you will see the ping of V1.
- Close the broker, change from jMqttBroker to jMqttBroker2 in the IDE's libraries manager
- Run the broker again
- press the PING button, it should show ping at least 10 times longer.
[EDIT] tested with JDK 10 and JDK 8, but not yet with JDK 11.