protected DatagramSocket getSocket()
        {
            return socket;
        }
Called by the endpoints when they need to be closed.
jme3-networking/src/main/java/com/jme3/network/kernel/udp/UdpKernel.java