-
Because the connectionClose would set fd=-1, clients were never properly removed from the map, because the fd is the key. Also fixed a locking issue when an exception happened.
-
Also materializes some concepts about MqttPacket.
-
I put the main app in a seperate class for it, because it was easier.
-
Roughly...
-
And I had to fix a threading bug.