diff --git a/src/dorkbox/network/Server.java b/src/dorkbox/network/Server.java index bac590bb..85052e76 100644 --- a/src/dorkbox/network/Server.java +++ b/src/dorkbox/network/Server.java @@ -140,6 +140,8 @@ class Server extends EndPointServer { } if (udpPort > 0) { + // This is what allows us to have UDP behave "similar" to TCP, in that a session is established based on the port/ip of the + // remote connection. This allows us to reuse channels and have "state" for a UDP connection that normally wouldn't exist. udpBootstrap = new SessionBootstrap(); } else {